Class CommandServiceGrpc.CommandServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<CommandServiceGrpc.CommandServiceBlockingStub>
-
- io.axoniq.axonserver.grpc.command.CommandServiceGrpc.CommandServiceBlockingStub
-
- Enclosing class:
- CommandServiceGrpc
public static final class CommandServiceGrpc.CommandServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CommandServiceGrpc.CommandServiceBlockingStub>
A stub to allow clients to do limited synchronous 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.CommandServiceBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)CommandResponsedispatch(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.CommandServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceBlockingStub>
-
dispatch
public CommandResponse dispatch(Command request)
Dispatches the given command, returning the result of command execution
-
-