public static final class CommandServiceGrpc.CommandServiceBlockingStub extends io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceBlockingStub>
The CommandService defines the gRPC requests necessary for subscribing command handlers, and dispatching commands.
Modifier and Type | Method and Description |
---|---|
protected CommandServiceGrpc.CommandServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
CommandResponse |
dispatch(Command request)
Dispatches the given command, returning the result of command execution
|
protected CommandServiceGrpc.CommandServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceBlockingStub>
public CommandResponse dispatch(Command request)
Dispatches the given command, returning the result of command execution
Copyright © 2010–2020. All rights reserved.