Class CommandServiceGrpc.CommandServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<CommandServiceGrpc.CommandServiceFutureStub>
-
- io.axoniq.axonserver.grpc.command.CommandServiceGrpc.CommandServiceFutureStub
-
- Enclosing class:
- CommandServiceGrpc
public static final class CommandServiceGrpc.CommandServiceFutureStub extends io.grpc.stub.AbstractFutureStub<CommandServiceGrpc.CommandServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CommandService.The CommandService defines the gRPC requests necessary for subscribing command handlers, and dispatching commands.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CommandServiceGrpc.CommandServiceFutureStubbuild(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-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected CommandServiceGrpc.CommandServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceFutureStub>
-
dispatch
public com.google.common.util.concurrent.ListenableFuture<CommandResponse> dispatch(Command request)
Dispatches the given command, returning the result of command execution
-
-