|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.granite.gravity.adapters.Topic
public class Topic
Adapted from Greg Wilkins code (Jetty).
| Constructor Summary | |
|---|---|
Topic(String topicId,
SimpleServiceAdapter serviceAdapter)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Topic(String topicId,
SimpleServiceAdapter serviceAdapter)
| Method Detail |
|---|
public String getId()
public TopicId getTopicId()
public Topic getChild(TopicId topicId)
public void addChild(Topic topic)
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)
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||