org.granite.client.messaging
Class AbstractTopicAgent
java.lang.Object
org.granite.client.messaging.AbstractTopicAgent
- All Implemented Interfaces:
- TopicAgent
- Direct Known Subclasses:
- Consumer, Producer
public abstract class AbstractTopicAgent
- extends Object
- implements TopicAgent
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channel
protected final MessagingChannel channel
destination
protected final String destination
topic
protected final String topic
defaultHeaders
protected final Map<String,Object> defaultHeaders
AbstractTopicAgent
public AbstractTopicAgent(MessagingChannel channel,
String destination,
String topic)
getChannel
public MessagingChannel getChannel()
- Specified by:
getChannel in interface TopicAgent
getDestination
public String getDestination()
- Specified by:
getDestination in interface TopicAgent
getTopic
public String getTopic()
- Specified by:
getTopic in interface TopicAgent
getDefaultHeaders
public Map<String,Object> getDefaultHeaders()
- Specified by:
getDefaultHeaders in interface TopicAgent