1 45 package org.exolab.jms.client; 46 47 import javax.jms.Topic ; 48 import javax.jms.TopicSubscriber ; 49 50 51 59 class JmsTopicSubscriber 60 extends JmsMessageConsumer 61 implements TopicSubscriber { 62 63 67 private final boolean _noLocal; 68 69 70 79 public JmsTopicSubscriber(JmsSession session, long consumerId, 80 Topic topic, String selector, 81 boolean noLocal) { 82 super(session, consumerId, topic, selector); 83 _noLocal = noLocal; 84 } 85 86 91 public Topic getTopic() { 92 return (Topic ) getDestination(); 93 } 94 95 101 public boolean getNoLocal() { 102 return _noLocal; 103 } 104 105 } 106 107 | Popular Tags |