|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestHandler
Handle incoming requests received by the RequestServiceListener.
Method Summary | |
---|---|
RequestListenerService |
getListenerService()
Return the listener service. |
void |
handleClose(ClientHandle handle)
Called when a client close event occurs. |
byte[] |
handleRequest(ClientHandle handle,
byte[] request)
Called when a client has sent a request. |
void |
handleResponse(ClientHandle handle,
byte[] response)
Send a response to the supplied client (sessionId). |
void |
handleTimeout(ClientHandle handle)
Called when a select times out waiting for client keys. |
Method Detail |
---|
void handleClose(ClientHandle handle)
Called when a client close event occurs.
void handleTimeout(ClientHandle handle)
Called when a select times out waiting for client keys.
byte[] handleRequest(ClientHandle handle, byte[] request) throws RequestHandlerException
Called when a client has sent a request.
RequestHandlerException
void handleResponse(ClientHandle handle, byte[] response) throws RequestHandlerException
Send a response to the supplied client (sessionId).
RequestHandlerException
RequestListenerService getListenerService()
Return the listener service. The listener service is effectively a root context.
|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |