public static class AbstractRpcClient.BlockingRpcChannelImplementation extends Object implements com.google.protobuf.BlockingRpcChannel
Modifier | Constructor and Description |
---|---|
protected |
AbstractRpcClient.BlockingRpcChannelImplementation(AbstractRpcClient rpcClient,
ServerName sn,
User ticket,
int channelOperationTimeout) |
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.Message |
callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor md,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message param,
com.google.protobuf.Message returnType) |
protected AbstractRpcClient.BlockingRpcChannelImplementation(AbstractRpcClient rpcClient, ServerName sn, User ticket, int channelOperationTimeout) throws UnknownHostException
channelOperationTimeout
- - the default timeout when no timeout is givenUnknownHostException
public com.google.protobuf.Message callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor md, com.google.protobuf.RpcController controller, com.google.protobuf.Message param, com.google.protobuf.Message returnType) throws com.google.protobuf.ServiceException
callBlockingMethod
in interface com.google.protobuf.BlockingRpcChannel
com.google.protobuf.ServiceException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.