public static class TestServiceGrpc.TestServiceBlockingStub extends AbstractStub<TestServiceGrpc.TestServiceBlockingStub,TestServiceGrpc.TestServiceServiceDescriptor> implements TestServiceGrpc.TestServiceBlockingClient
AbstractStub.StubConfigBuilderchannel, 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, getServiceDescriptorprotected TestServiceGrpc.TestServiceBlockingStub build(Channel channel, TestServiceGrpc.TestServiceServiceDescriptor config)
AbstractStubbuild 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