Package com.daml.ledger.api.v2
Class CommandServiceGrpc
java.lang.Object
com.daml.ledger.api.v2.CommandServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: com/daml/ledger/api/v2/command_service.proto")
public final class CommandServiceGrpc
extends Object
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 SHOULD produce a completion event for a rejection of a duplicate command.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Command Service is able to correlate submitted commands with completion data, identify timeouts, and return contextual information with each tracking result.static final class
A stub to allow clients to do synchronous rpc calls to service CommandService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service CommandService.static class
Base class for the server implementation of the service CommandService.static final class
A stub to allow clients to do asynchronous rpc calls to service CommandService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitForReassignmentRequest,
CommandServiceOuterClass.SubmitAndWaitForReassignmentResponse> static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest,
CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitRequest,
CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitRequest,
CommandServiceOuterClass.SubmitAndWaitResponse> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getSubmitAndWaitMethod
public static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitRequest,CommandServiceOuterClass.SubmitAndWaitResponse> getSubmitAndWaitMethod() -
getSubmitAndWaitForTransactionMethod
public static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitForTransactionRequest,CommandServiceOuterClass.SubmitAndWaitForTransactionResponse> getSubmitAndWaitForTransactionMethod() -
getSubmitAndWaitForTransactionTreeMethod
public static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitRequest,CommandServiceOuterClass.SubmitAndWaitForTransactionTreeResponse> getSubmitAndWaitForTransactionTreeMethod() -
getSubmitAndWaitForReassignmentMethod
public static io.grpc.MethodDescriptor<CommandServiceOuterClass.SubmitAndWaitForReassignmentRequest,CommandServiceOuterClass.SubmitAndWaitForReassignmentResponse> getSubmitAndWaitForReassignmentMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
public static CommandServiceGrpc.CommandServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(CommandServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-