|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Field Summary | |
static char |
TOPIC_SEP
Character used to seperate Topic Names |
| Method Summary | |
void |
addListener(java.lang.String topic,
IMsgBusListener listener)
Add a Listener to the Bus that listens for Messages delivered on a specified Topic |
void |
fireMessage(java.lang.String topic,
MsgBusMessage msg)
Fire a message onto the Bus This call returns quickly the implementation should process the msg in a seperate thread. |
MsgBusMessage |
fireMessage(java.lang.String topic,
MsgBusMessage msg,
boolean resultRequired)
Fire a message onto the bus. |
MsgBusMessage |
fireMessage(java.lang.String topic,
MsgBusMessage msg,
boolean resultRequired,
boolean unicast)
Fire a message onto the bus. |
void |
fireMessage(java.lang.String topic,
MsgBusMessage msg,
IMsgBusListener resultListener)
Fire a Message and notify the result Listener This call returns quickly the implementation should process the msg in a seperate thread. |
void |
removeListener(java.lang.String topic,
IMsgBusListener listener)
Remove a Listener |
| Field Detail |
public static final char TOPIC_SEP
| Method Detail |
public void addListener(java.lang.String topic,
IMsgBusListener listener)
topic - name of topiclistener -
public void removeListener(java.lang.String topic,
IMsgBusListener listener)
public void fireMessage(java.lang.String topic,
MsgBusMessage msg)
topic - name of Topicmsg - message to Send
public void fireMessage(java.lang.String topic,
MsgBusMessage msg,
IMsgBusListener resultListener)
topic - msg - to sendlistener - that should receive a reply
public MsgBusMessage fireMessage(java.lang.String topic,
MsgBusMessage msg,
boolean resultRequired)
topic - to pass the message onmsg - to passresultRequired - true if a result should be returned from this method
public MsgBusMessage fireMessage(java.lang.String topic,
MsgBusMessage msg,
boolean resultRequired,
boolean unicast)
topic - to pass the message onmsg - to passresultRequired - true if a result should be returned from this methodunicast - true if only first listener should receive the message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||