public static class GreeterGrpc.GreeterFutureStub extends AbstractStub<GreeterGrpc.GreeterFutureStub,GreeterGrpc.GreeterServiceDescriptor> implements GreeterGrpc.GreeterFutureClient
AbstractStub.StubConfigBuilder
channel, config
Modifier and Type | Method and Description |
---|---|
protected GreeterGrpc.GreeterFutureStub |
build(Channel channel,
GreeterGrpc.GreeterServiceDescriptor config)
Returns a new stub with the given channel for the provided method configurations.
|
ListenableFuture<HelloResponse> |
sayHello(HelloRequest request) |
configureNewStub, getChannel, getServiceDescriptor
protected GreeterGrpc.GreeterFutureStub build(Channel channel, GreeterGrpc.GreeterServiceDescriptor config)
AbstractStub
build
in class AbstractStub<GreeterGrpc.GreeterFutureStub,GreeterGrpc.GreeterServiceDescriptor>
channel
- the channel that this stub will use to do communicationsconfig
- defines the RPC methods of the stubpublic ListenableFuture<HelloResponse> sayHello(HelloRequest request)
sayHello
in interface GreeterGrpc.GreeterFutureClient