Package com.daml.ledger.api.v1
Interface CommandServiceGrpc.AsyncService
-
- All Known Implementing Classes:
CommandServiceGrpc.CommandServiceImplBase
- Enclosing class:
- CommandServiceGrpc
public static interface CommandServiceGrpc.AsyncService
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. Note that submitted commands generally produce completion events as well, even in case a command gets rejected. For example, the participant MAY choose to produce a completion event for a rejection of a duplicate command.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Submits a single composite command and waits for its result.default 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.default 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.default 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.
-
-
-
Method Detail
-
submitAndWait
default void submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Submits a single composite command and waits for its result. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransactionId
default 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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransaction
default 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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransactionTree
default 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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
-