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