|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRpcManagerOperations
Interface exposing operations that the handlers of the RpcManager
can
use.
Method Summary | |
---|---|
DualValue<String,IRpcDefinition> |
getRegistryKeyAndDefinition(String remoteContextIdentity,
String procedure,
IField[] args)
Get the RPC registry key and IRpcDefinition for the procedure. |
void |
invoke(String remoteContextIdentity,
String rpcKey,
IRpcDefinition definition,
IField[] args,
IRpcResultHandler resultHandler,
IRpcMarker marker)
Invoke the RPC in the named remote context. |
Method Detail |
---|
void invoke(String remoteContextIdentity, String rpcKey, IRpcDefinition definition, IField[] args, IRpcResultHandler resultHandler, IRpcMarker marker)
remoteContextIdentity
- the remote context to invoke the RPC inrpcKey
- the RPC keydefinition
- the RPC definitionargs
- the arguments for the RPCresultHandler
- the handler to process the asynchronous resultmarker
- the marker that allows the resultHandler to tie up the result
from this specific RPC invocationDualValue<String,IRpcDefinition> getRegistryKeyAndDefinition(String remoteContextIdentity, String procedure, IField[] args)
IRpcDefinition
for the procedure.
This checks the RPC registry record of the remote context to find the key
for an RPC with matching name and arguments.
remoteContextIdentity
- the remote contextprocedure
- the RPC nameargs
- the RPC arguments
IRpcDefinition
for the RPC in
the remote context or null
if not found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |