public static final class CommandServiceGrpc.CommandServiceFutureStub extends io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceFutureStub>
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.
Modifier and Type | Method and Description |
---|---|
protected CommandServiceGrpc.CommandServiceFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> |
submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command and waits for its result.
|
com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> |
submitAndWaitForTransaction(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command, waits for its result, and returns the transaction.
|
com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionIdResponse> |
submitAndWaitForTransactionId(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command, waits for its result, and returns the transaction id.
|
com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> |
submitAndWaitForTransactionTree(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command, waits for its result, and returns the transaction tree.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected CommandServiceGrpc.CommandServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceFutureStub>
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request)
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 com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionIdResponse> submitAndWaitForTransactionId(CommandServiceOuterClass.SubmitAndWaitRequest request)
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 com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> submitAndWaitForTransaction(CommandServiceOuterClass.SubmitAndWaitRequest request)
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 com.google.common.util.concurrent.ListenableFuture<CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> submitAndWaitForTransactionTree(CommandServiceOuterClass.SubmitAndWaitRequest request)
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.