public class RpcClientUtil extends Object
Constructor and Description |
---|
RpcClientUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isMethodSupported(Object rpcProxy,
Class<?> protocol,
RPC.RpcKind rpcKind,
long version,
String methodName)
Returns whether the given method is supported or not.
|
public static boolean isMethodSupported(Object rpcProxy, Class<?> protocol, RPC.RpcKind rpcKind, long version, String methodName) throws IOException
rpcProxy
- Proxy which provides an existing connection id.protocol
- Protocol for which the method check is required.rpcKind
- The RpcKind for which the method check is required.version
- The version at the client.methodName
- Name of the method.IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.