public abstract static class CommandServiceGrpc.CommandServiceImplBase extends Object implements io.grpc.BindableService
The CommandService defines the gRPC requests necessary for subscribing command handlers, and dispatching commands.
| Constructor and Description |
|---|
CommandServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
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.
|
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
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2010–2020. All rights reserved.