站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.0 API 英文版文档

RemoteSubscriber (JBoss Seam API Documentation) - JBoss Seam 1.0.0 API 英文版文档


org.jboss.seam.remoting.messaging
Class RemoteSubscriber

java.lang.Object
  extended by org.jboss.seam.remoting.messaging.RemoteSubscriber

public class RemoteSubscriber
extends Object

Author:
Shane Bryzak

Constructor Summary
RemoteSubscriber(String token, String topicName)
           
 
Method Summary
 String getToken()
           
 String getTopicName()
           
 javax.jms.TopicSubscriber getTopicSubscriber()
           
 List<javax.jms.Message> poll(int timeout)
           
 void setTopicSubscriber(javax.jms.TopicSubscriber subscriber)
           
 void subscribe(javax.jms.TopicConnection conn)
           
 void unsubscribe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteSubscriber

public RemoteSubscriber(String token,
                        String topicName)
Method Detail

getToken

public String getToken()

getTopicName

public String getTopicName()

subscribe

public void subscribe(javax.jms.TopicConnection conn)
               throws javax.jms.JMSException
Throws:
javax.jms.JMSException

unsubscribe

public void unsubscribe()

setTopicSubscriber

public void setTopicSubscriber(javax.jms.TopicSubscriber subscriber)

getTopicSubscriber

public javax.jms.TopicSubscriber getTopicSubscriber()

poll

public List<javax.jms.Message> poll(int timeout)