public interface RpcInvocation extends Message
Modifier and Type | Method and Description |
---|---|
static String |
convertRpcToString(String declaringClassName,
String methodName,
Class<?>[] parameterTypes)
Converts a rpc call into its string representation.
|
Object[] |
getArgs()
Returns the arguments of the remote procedure call.
|
String |
getMethodName()
Returns the method's name.
|
Class<?>[] |
getParameterTypes()
Returns the method's parameter types.
|
String getMethodName() throws IOException, ClassNotFoundException
IOException
- if the rpc invocation message is a remote message and could not be
deserializedClassNotFoundException
- if the rpc invocation message is a remote message and contains
serialized classes which cannot be found on the receiving sideClass<?>[] getParameterTypes() throws IOException, ClassNotFoundException
IOException
- if the rpc invocation message is a remote message and could not be
deserializedClassNotFoundException
- if the rpc invocation message is a remote message and contains
serialized classes which cannot be found on the receiving sideObject[] getArgs() throws IOException, ClassNotFoundException
IOException
- if the rpc invocation message is a remote message and could not be
deserializedClassNotFoundException
- if the rpc invocation message is a remote message and contains
serialized classes which cannot be found on the receiving sidestatic String convertRpcToString(String declaringClassName, String methodName, Class<?>[] parameterTypes)
declaringClassName
- declaringClassName declares the specified rpcmethodName
- methodName of the rpcparameterTypes
- parameterTypes of the rpcCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.