public interface RpcExecutionService
| Modifier and Type | Method and Description |
|---|---|
void |
addImplementation(Object implementation,
Class interfaceClass)
Add an implementation of an interface.
|
void |
execute(RemoteExecutionContext dc,
org.jboss.netty.channel.ChannelHandlerContext ctx,
com.google.protobuf.Message message)
Execute a method coming in over the wire.
|
Class |
getParameterType(Rpc.MethodSignature sig)
Look Find the parameter type associated with a method signature.
|
Class |
getReturnType(Rpc.MethodSignature sig)
Look Find the return type associated with a method signature.
|
void |
startCancel(org.jboss.netty.channel.ChannelHandlerContext ctx,
long rpcIndex)
Cancel an invocation.
|
Class getReturnType(Rpc.MethodSignature sig)
sig - The signatureClass getParameterType(Rpc.MethodSignature sig)
sig - The signaturevoid execute(RemoteExecutionContext dc, org.jboss.netty.channel.ChannelHandlerContext ctx, com.google.protobuf.Message message)
dc - XXXXctx - message - The parameter object.void startCancel(org.jboss.netty.channel.ChannelHandlerContext ctx,
long rpcIndex)
ctx - rpcIndex - void addImplementation(Object implementation, Class interfaceClass) throws RpcServerException
implementation - The instance implementing the RPC interface.interfaceClass - The class defining the RPC interface.RpcServerExceptionCopyright © 2013. All Rights Reserved.