public class RpcConverter extends Object
| Constructor and Description |
|---|
RpcConverter() |
| Modifier and Type | Method and Description |
|---|---|
static RPCMessage |
convertTableToRpc(Hashtable<String,Object> rpcHashTable) |
static RPCMessage |
extractRpc(ProtocolMessage message,
Version protocolVersion)
Extracts the RPC out of the payload of a given protocol message
|
public static RPCMessage extractRpc(ProtocolMessage message, Version protocolVersion)
message - protocolMessage that has the RPC in the payloadprotocolVersion - RPC spec version that should be used to create RPCpublic static RPCMessage convertTableToRpc(Hashtable<String,Object> rpcHashTable)