| Constructor and Description |
|---|
Topic(String topicId,
SimpleServiceAdapter serviceAdapter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(Topic topic) |
Topic |
getChild(TopicId topicId) |
String |
getId() |
TopicId |
getTopicId() |
void |
publish(TopicId to,
Channel fromChannel,
AsyncMessage msg) |
void |
subscribe(Channel channel,
String destination,
String subscriptionId,
String selector,
boolean noLocal) |
String |
toString() |
void |
unsubscribe(Channel channel,
String subscriptionId) |
public Topic(String topicId, SimpleServiceAdapter serviceAdapter)
public TopicId getTopicId()
public void subscribe(Channel channel, String destination, String subscriptionId, String selector, boolean noLocal)
public void unsubscribe(Channel channel, String subscriptionId)
public void publish(TopicId to, Channel fromChannel, AsyncMessage msg)