The obtained {@link com.google.protobuf.RpcChannel} instance can be used to access a publishedcoprocessor {@link com.google.protobuf.Service} using standard protobuf service invocations:
CoprocessorRpcChannel channel = myAdmin.coprocessorService(); MyService.BlockingInterface service = MyService.newBlockingStub(channel); MyCallRequest request = MyCallRequest.newBuilder() ... .build(); MyCallResponse response = service.myCall(null, request);
|
|
|
|