|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.resilientedge.jockey.peerbridge.SimpSockConnector
Represents a peer connection to another Jockey instance.
| Method Summary | |
void |
addRequestListener(SimpSockRequestListener listener)
Add a listener that wishes to receive request notifications. |
Response |
broadcastCall(Request req)
Make a request to a remote jockey peer. |
Response |
doCall(SimpSockPeer peer,
Request req)
Make a request to a remote jockey peer. |
void |
doVoidCall(SimpSockPeer peer,
Request req)
Make a request to the Jockey engine which won't receive a response. |
void |
init(Prefs prefs)
Initialize this instance. |
void |
removeRequestListener(SimpSockRequestListener listener)
Remove an entity from the list of those interested in requests notifications. |
void |
shutdown()
Terminate this client instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void init(Prefs prefs)
public Response doCall(SimpSockPeer peer,
Request req)
throws java.io.IOException
req - the request for the engine
public void doVoidCall(SimpSockPeer peer,
Request req)
throws java.io.IOException
req - the request for the engine
public Response broadcastCall(Request req)
throws java.io.IOException
req - the request for the enginepublic void shutdown()
public void addRequestListener(SimpSockRequestListener listener)
listener - entity to addpublic void removeRequestListener(SimpSockRequestListener listener)
listener - entity to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||