public static final class CommandServiceGrpc.CommandServiceStub extends io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceStub>
The CommandService defines the gRPC requests necessary for subscribing command handlers, and dispatching commands.
Modifier and Type | Method and Description |
---|---|
protected CommandServiceGrpc.CommandServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
dispatch(Command request,
io.grpc.stub.StreamObserver<CommandResponse> responseObserver)
Dispatches the given command, returning the result of command execution
|
io.grpc.stub.StreamObserver<CommandProviderOutbound> |
openStream(io.grpc.stub.StreamObserver<CommandProviderInbound> responseObserver)
Opens a stream allowing clients to register command handlers and receive commands.
|
protected CommandServiceGrpc.CommandServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceStub>
public io.grpc.stub.StreamObserver<CommandProviderOutbound> openStream(io.grpc.stub.StreamObserver<CommandProviderInbound> responseObserver)
Opens a stream allowing clients to register command handlers and receive commands.
public void dispatch(Command request, io.grpc.stub.StreamObserver<CommandResponse> responseObserver)
Dispatches the given command, returning the result of command execution
Copyright © 2010–2020. All rights reserved.