public final class RPCRequest
extends java.lang.Object
Method
and
an array of arguments.Constructor and Description |
---|
RPCRequest(java.lang.reflect.Method method,
java.lang.Object[] parameters,
RpcToken rpcToken,
SerializationPolicy serializationPolicy,
int flags)
Construct an RPCRequest.
|
RPCRequest(java.lang.reflect.Method method,
java.lang.Object[] parameters,
SerializationPolicy serializationPolicy,
int flags)
Construct an RPCRequest.
|
Modifier and Type | Method and Description |
---|---|
int |
getFlags() |
java.lang.reflect.Method |
getMethod()
Get the request's method.
|
java.lang.Object[] |
getParameters()
Get the request's parameters.
|
RpcToken |
getRpcToken()
Get the request's RPC token.
|
SerializationPolicy |
getSerializationPolicy()
Returns the
SerializationPolicy used to decode this request. |
java.lang.String |
toString()
For debugging use only.
|
public RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, SerializationPolicy serializationPolicy, int flags)
public RPCRequest(java.lang.reflect.Method method, java.lang.Object[] parameters, RpcToken rpcToken, SerializationPolicy serializationPolicy, int flags)
public int getFlags()
public java.lang.reflect.Method getMethod()
public java.lang.Object[] getParameters()
public RpcToken getRpcToken()
public SerializationPolicy getSerializationPolicy()
SerializationPolicy
used to decode this request. This
is also the SerializationPolicy
that should be used to encode
responses.SerializationPolicy
used to decode this requestpublic java.lang.String toString()
toString
in class java.lang.Object