org.apache.hadoop.hbase.ipc
Class CoprocessorRpcChannel

java.lang.Object
  extended by org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel
All Implemented Interfaces:
com.google.protobuf.BlockingRpcChannel, com.google.protobuf.RpcChannel

@InterfaceAudience.Public
@InterfaceStability.Evolving
public abstract class CoprocessorRpcChannel
extends Object
implements com.google.protobuf.RpcChannel, com.google.protobuf.BlockingRpcChannel

Base class which provides clients with an RPC connection to call coprocessor endpoint Services. Note that clients should not use this class directly, except through HTableInterface.coprocessorService(byte[]).


Constructor Summary
CoprocessorRpcChannel()
           
 
Method Summary
protected abstract  com.google.protobuf.Message callExecService(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoprocessorRpcChannel

public CoprocessorRpcChannel()
Method Detail

callExecService

protected abstract com.google.protobuf.Message callExecService(com.google.protobuf.Descriptors.MethodDescriptor method,
                                                               com.google.protobuf.Message request,
                                                               com.google.protobuf.Message responsePrototype)
                                                        throws IOException
Throws:
IOException


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.