Package pbx
Class NodeGrpc.NodeStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<NodeGrpc.NodeStub>
-
- pbx.NodeGrpc.NodeStub
-
- Enclosing class:
- NodeGrpc
public static final class NodeGrpc.NodeStub extends io.grpc.stub.AbstractAsyncStub<NodeGrpc.NodeStub>
A stub to allow clients to do asynchronous rpc calls to service Node.This is the single method that needs to be implemented by a gRPC client.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NodeGrpc.NodeStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)io.grpc.stub.StreamObserver<Model.ClientMsg>messageLoop(io.grpc.stub.StreamObserver<Model.ServerMsg> responseObserver)Client sends a stream of ClientMsg, server responds with a stream of ServerMsg-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected NodeGrpc.NodeStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<NodeGrpc.NodeStub>
-
messageLoop
public io.grpc.stub.StreamObserver<Model.ClientMsg> messageLoop(io.grpc.stub.StreamObserver<Model.ServerMsg> responseObserver)
Client sends a stream of ClientMsg, server responds with a stream of ServerMsg
-
-