public abstract static class CommandServiceGrpc.CommandServiceImplBase
extends java.lang.Object
implements io.grpc.BindableService
Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual information with each tracking result. This supports the implementation of stateless clients.
Constructor and Description |
---|
CommandServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Submits a single composite command and waits for its result.
|
void |
submitAndWaitForTransaction(CommandServiceOuterClass.SubmitAndWaitRequest request,
io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction.
|
void |
submitAndWaitForTransactionId(CommandServiceOuterClass.SubmitAndWaitRequest request,
io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionIdResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction id.
|
void |
submitAndWaitForTransactionTree(CommandServiceOuterClass.SubmitAndWaitRequest request,
io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction tree.
|
public void submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Submits a single composite command and waits for its result. Returns ``RESOURCE_EXHAUSTED`` if the number of in-flight commands reached the maximum (if a limit is configured). Propagates the gRPC error of failed submissions including DAML interpretation errors.
public void submitAndWaitForTransactionId(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionIdResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction id. Returns ``RESOURCE_EXHAUSTED`` if the number of in-flight commands reached the maximum (if a limit is configured). Propagates the gRPC error of failed submissions including DAML interpretation errors.
public void submitAndWaitForTransaction(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction. Returns ``RESOURCE_EXHAUSTED`` if the number of in-flight commands reached the maximum (if a limit is configured). Propagates the gRPC error of failed submissions including DAML interpretation errors.
public void submitAndWaitForTransactionTree(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> responseObserver)
Submits a single composite command, waits for its result, and returns the transaction tree. Returns ``RESOURCE_EXHAUSTED`` if the number of in-flight commands reached the maximum (if a limit is configured). Propagates the gRPC error of failed submissions including DAML interpretation errors.
public final io.grpc.ServerServiceDefinition bindService()
bindService
in interface io.grpc.BindableService