|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Messageable interface defines callback methods used by Messagers to deliver queries and asynchronous messages to nodes. Exceptions thrown during processing of a message may be of any framework type. It is up to the Messager implementation to wrap these appropriately.
| Method Summary | |
void |
deliver(SandMessage msg)
Receive streamed messages. |
IDCache |
getIDCache()
If this node will be caching instances locally, return the IDCache instance that will be used. |
Messager |
getMessager()
Return our Messager instance |
SandMessage |
receive(SandMessage msg)
Receive a query. |
void |
setMessager(Messager messager)
Set our Messager instance |
| Method Detail |
public void deliver(SandMessage msg)
throws SandException
SandException
public SandMessage receive(SandMessage msg)
throws SandException
SandExceptionpublic Messager getMessager()
public void setMessager(Messager messager)
public IDCache getIDCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||