public final class CommandService
extends io.spine.client.grpc.CommandServiceGrpc.CommandServiceImplBase
implements io.spine.logging.Logging
CommandService
allows client applications to post commands and
receive updates from the application backend.Modifier and Type | Class and Description |
---|---|
static class |
CommandService.Builder
The builder for a
CommandService . |
Modifier and Type | Method and Description |
---|---|
static CommandService.Builder |
newBuilder()
Creates a new builder for
CommandService . |
void |
post(io.spine.core.Command request,
io.grpc.stub.StreamObserver<io.spine.core.Ack> responseObserver) |
static CommandService |
withSingle(BoundedContext context)
Builds the service with a single Bounded Context.
|
bindService
public static CommandService.Builder newBuilder()
CommandService
.public static CommandService withSingle(BoundedContext context)
public void post(io.spine.core.Command request, io.grpc.stub.StreamObserver<io.spine.core.Ack> responseObserver)
post
in class io.spine.client.grpc.CommandServiceGrpc.CommandServiceImplBase