public static class TestServerCustomProtocol.PingHandler extends PingProtos.PingService implements Coprocessor, CoprocessorService
PingProtos.PingService.BlockingInterface, PingProtos.PingService.Interface, PingProtos.PingService.StubCoprocessor.StatePRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION| Constructor and Description |
|---|
PingHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
count(RpcController controller,
PingProtos.CountRequest request,
<any> done)
rpc count(.CountRequest) returns (.CountResponse); |
Service |
getService() |
void |
hello(RpcController controller,
PingProtos.HelloRequest request,
<any> done)
rpc hello(.HelloRequest) returns (.HelloResponse); |
void |
increment(RpcController controller,
PingProtos.IncrementCountRequest request,
<any> done)
rpc increment(.IncrementCountRequest) returns (.IncrementCountResponse); |
void |
noop(RpcController controller,
PingProtos.NoopRequest request,
<any> done)
rpc noop(.NoopRequest) returns (.NoopResponse); |
void |
ping(RpcController controller,
PingProtos.PingRequest request,
<any> done)
rpc ping(.PingRequest) returns (.PingResponse); |
void |
start(CoprocessorEnvironment env) |
void |
stop(CoprocessorEnvironment env) |
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStubpublic void start(CoprocessorEnvironment env) throws IOException
start in interface CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
stop in interface CoprocessorIOExceptionpublic void ping(RpcController controller,
PingProtos.PingRequest request,
<any> done)
PingProtos.PingServicerpc ping(.PingRequest) returns (.PingResponse);ping in class PingProtos.PingServicepublic void count(RpcController controller,
PingProtos.CountRequest request,
<any> done)
PingProtos.PingServicerpc count(.CountRequest) returns (.CountResponse);count in class PingProtos.PingServicepublic void increment(RpcController controller,
PingProtos.IncrementCountRequest request,
<any> done)
PingProtos.PingServicerpc increment(.IncrementCountRequest) returns (.IncrementCountResponse);increment in class PingProtos.PingServicepublic void hello(RpcController controller,
PingProtos.HelloRequest request,
<any> done)
PingProtos.PingServicerpc hello(.HelloRequest) returns (.HelloResponse);hello in class PingProtos.PingServicepublic void noop(RpcController controller,
PingProtos.NoopRequest request,
<any> done)
PingProtos.PingServicerpc noop(.NoopRequest) returns (.NoopResponse);noop in class PingProtos.PingServicepublic Service getService()
getService in interface CoprocessorService