当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
RemoteSubscriber (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.remoting.messaging
Class RemoteSubscriber
java.lang.Object
org.jboss.seam.remoting.messaging.RemoteSubscriber
public class RemoteSubscriber
- extends Object
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteSubscriber
public RemoteSubscriber(String token,
String topicName)
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)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException