public static class TestServiceGrpc.TestServiceFutureStub extends AbstractStub<TestServiceGrpc.TestServiceFutureStub,TestServiceGrpc.TestServiceServiceDescriptor> implements TestServiceGrpc.TestServiceFutureClient
AbstractStub.StubConfigBuilderchannel, config| Modifier and Type | Method and Description |
|---|---|
protected TestServiceGrpc.TestServiceFutureStub |
build(Channel channel,
TestServiceGrpc.TestServiceServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
ListenableFuture<SimpleResponse> |
unaryCall(SimpleRequest request) |
configureNewStub, getChannel, getServiceDescriptorprotected TestServiceGrpc.TestServiceFutureStub build(Channel channel, TestServiceGrpc.TestServiceServiceDescriptor config)
AbstractStubbuild in class AbstractStub<TestServiceGrpc.TestServiceFutureStub,TestServiceGrpc.TestServiceServiceDescriptor>channel - the channel that this stub will use to do communicationsconfig - defines the RPC methods of the stubpublic ListenableFuture<SimpleResponse> unaryCall(SimpleRequest request)
unaryCall in interface TestServiceGrpc.TestServiceFutureClient