public static final class CommandServiceGrpc.CommandServiceBlockingStub extends io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceBlockingStub>
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.
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected CommandServiceGrpc.CommandServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<CommandServiceGrpc.CommandServiceBlockingStub>
public com.google.protobuf.Empty submitAndWait(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command and waits for its result. Propagates the gRPC error of failed submissions including DAML interpretation errors. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields - ``RESOURCE_EXHAUSTED``: if the number of in-flight commands reached the maximum (if a limit is configured) - ``UNAVAILABLE``: if the participant is not yet ready to submit commands or if the service has been shut down.
public CommandServiceOuterClass.SubmitAndWaitForTransactionIdResponse submitAndWaitForTransactionId(CommandServiceOuterClass.SubmitAndWaitRequest request)
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. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields - ``RESOURCE_EXHAUSTED``: if the number of in-flight commands reached the maximum (if a limit is configured) - ``UNAVAILABLE``: if the participant is not yet ready to submit commands or if the service has been shut down.
public CommandServiceOuterClass.SubmitAndWaitForTransactionResponse submitAndWaitForTransaction(CommandServiceOuterClass.SubmitAndWaitRequest request)
Submits a single composite command, waits for its result, and returns the transaction. Propagates the gRPC error of failed submissions including DAML interpretation errors. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields - ``RESOURCE_EXHAUSTED``: if the number of in-flight commands reached the maximum (if a limit is configured) - ``UNAVAILABLE``: if the participant is not yet ready to submit commands or if the service has been shut down.
public CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse submitAndWaitForTransactionTree(CommandServiceOuterClass.SubmitAndWaitRequest request)
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. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id - ``INVALID_ARGUMENT``: if the payload is malformed or is missing required fields - ``RESOURCE_EXHAUSTED``: if the number of in-flight commands reached the maximum (if a limit is configured) - ``UNAVAILABLE``: if the participant is not yet ready to submit commands or if the service has been shut down.