Package com.bytedesk.core.proto
Class SimpleGrpc.SimpleBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SimpleGrpc.SimpleBlockingStub>
com.bytedesk.core.proto.SimpleGrpc.SimpleBlockingStub
- Enclosing class:
- SimpleGrpc
public static final class SimpleGrpc.SimpleBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SimpleGrpc.SimpleBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Simple.
The greeting service definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSimpleBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) -
Method Summary
Modifier and TypeMethodDescriptionprotected SimpleGrpc.SimpleBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) sayHello(HelloRequest request) Sends a greetingstreamHello(HelloRequest request) Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Constructor Details
-
SimpleBlockingStub
private SimpleBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
-
-
Method Details
-
build
protected SimpleGrpc.SimpleBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SimpleGrpc.SimpleBlockingStub>
-
sayHello
Sends a greeting
-
streamHello
-