public class ProtobufCoprocessorService extends TestRpcServiceProtos.TestProtobufRpcProto implements CoprocessorService, Coprocessor
TestRpcServiceProtos.TestProtobufRpcProto service methods. For internal use by
unit tests only.TestRpcServiceProtos.TestProtobufRpcProto.BlockingInterface, TestRpcServiceProtos.TestProtobufRpcProto.Interface, TestRpcServiceProtos.TestProtobufRpcProto.StubCoprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
ProtobufCoprocessorService() |
| Modifier and Type | Method and Description |
|---|---|
void |
echo(RpcController controller,
TestProtos.EchoRequestProto request,
<any> done)
rpc echo(.EchoRequestProto) returns (.EchoResponseProto); |
void |
error(RpcController controller,
TestProtos.EmptyRequestProto request,
<any> done)
rpc error(.EmptyRequestProto) returns (.EmptyResponseProto); |
Service |
getService() |
void |
ping(RpcController controller,
TestProtos.EmptyRequestProto request,
<any> done)
rpc ping(.EmptyRequestProto) returns (.EmptyResponseProto); |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStubpublic Service getService()
getService in interface CoprocessorServicepublic void ping(RpcController controller,
TestProtos.EmptyRequestProto request,
<any> done)
TestRpcServiceProtos.TestProtobufRpcProtorpc ping(.EmptyRequestProto) returns (.EmptyResponseProto);ping in class TestRpcServiceProtos.TestProtobufRpcProtopublic void echo(RpcController controller,
TestProtos.EchoRequestProto request,
<any> done)
TestRpcServiceProtos.TestProtobufRpcProtorpc echo(.EchoRequestProto) returns (.EchoResponseProto);echo in class TestRpcServiceProtos.TestProtobufRpcProtopublic void error(RpcController controller,
TestProtos.EmptyRequestProto request,
<any> done)
TestRpcServiceProtos.TestProtobufRpcProtorpc error(.EmptyRequestProto) returns (.EmptyResponseProto);error in class TestRpcServiceProtos.TestProtobufRpcProtopublic void start(CoprocessorEnvironment env) throws java.io.IOException
start in interface Coprocessorjava.io.IOExceptionpublic void stop(CoprocessorEnvironment env) throws java.io.IOException
stop in interface Coprocessorjava.io.IOException