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