public static class AsyncRpcClient.RpcChannelImplementation extends Object implements com.google.protobuf.RpcChannel
Modifier | Constructor and Description |
---|---|
protected |
AsyncRpcClient.RpcChannelImplementation(AsyncRpcClient rpcClient,
ServerName sn,
User ticket,
int channelOperationTimeout) |
Modifier and Type | Method and Description |
---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message param,
com.google.protobuf.Message returnType,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
protected AsyncRpcClient.RpcChannelImplementation(AsyncRpcClient rpcClient, ServerName sn, User ticket, int channelOperationTimeout)
channelOperationTimeout
- - the default timeout when no timeout is givenpublic void callMethod(com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.RpcController controller, com.google.protobuf.Message param, com.google.protobuf.Message returnType, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod
in interface com.google.protobuf.RpcChannel
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.