Package com.daml.ledger.api.v1
Class CommandServiceGrpc.CommandServiceImplBase
- java.lang.Object
-
- com.daml.ledger.api.v1.CommandServiceGrpc.CommandServiceImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- CommandServiceGrpc
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. 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.
-
-
Constructor Summary
Constructors Constructor Description CommandServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
submitAndWait
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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransactionId
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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransaction
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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
submitAndWaitForTransactionTree
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. Propagates the gRPC error of failed submissions including Daml interpretation errors.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindService
in interfaceio.grpc.BindableService
-
-