|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MobilitySessionInternal
Internal interface used by the library, extends the public MobilitySession interface with methods for
processing incoming requests, as required by the library.
| Method Summary | |
|---|---|
void |
receiveExecutionResponse(ExecutionResponse executionResponse)
Called when we receive an incoming ExecutionResponse object from a remote machine addressed to this
session. |
void |
receiveIncomingExecutionRequest(ConnectionId connectionId,
ExecutionRequest executionRequest)
Called when we receive an incoming ExecutionRequest object from a remote machine addressed to this
session. |
| Methods inherited from interface com.googlecode.mobilityrpc.session.MobilitySession |
|---|
execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, getMobilityController, getSessionClassLoader, getSessionId, release |
| Method Detail |
|---|
void receiveIncomingExecutionRequest(ConnectionId connectionId,
ExecutionRequest executionRequest)
ExecutionRequest object from a remote machine addressed to this
session.
This method will submit this request to the session's thread pool for execution asynchronously. This method
will return immediately.
connectionId - Indicates the connection from which we received the requestexecutionRequest - A request from a remote machine to execute a serialized object on this machinevoid receiveExecutionResponse(ExecutionResponse executionResponse)
ExecutionResponse object from a remote machine addressed to this
session.
This method will look up and unblock the relevant thread which is waiting for the response to arrive.
executionResponse - A response from a remote machine for an execution request sent by a thread on this
machine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||