|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Messenger<ReqT,ReplyT>
A class that represents a simple messaging interface. This is possibly loss less and does not imply guaranteed deliver. The only real requirements are those implied by the Request and Reply interfaces
| Method Summary | |
|---|---|
void |
sendRequest(ReqT request)
Send a message using the messenger service |
void |
start(java.util.Queue<ReplyT> replyQueue)
Start listening for replies and enqueue any replies received to the passed in queue These replies will be pulled off by users of the service and processed. |
| Method Detail |
|---|
void sendRequest(ReqT request)
throws java.lang.Exception
java.lang.Exceptionvoid start(java.util.Queue<ReplyT> replyQueue)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||