Package com.daml.ledger.api.v2
Class StateServiceGrpc
java.lang.Object
com.daml.ledger.api.v2.StateServiceGrpc
@Generated(value="by gRPC proto compiler",
comments="Source: com/daml/ledger/api/v2/state_service.proto")
public final class StateServiceGrpc
extends Object
Allows clients to get state from the ledger.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAllows clients to get state from the ledger.static final classA stub to allow clients to do synchronous rpc calls to service StateService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service StateService.static classBase class for the server implementation of the service StateService.static final classA stub to allow clients to do asynchronous rpc calls to service StateService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(StateServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<StateServiceOuterClass.GetActiveContractsRequest,StateServiceOuterClass.GetActiveContractsResponse> static io.grpc.MethodDescriptor<StateServiceOuterClass.GetConnectedSynchronizersRequest,StateServiceOuterClass.GetConnectedSynchronizersResponse> static io.grpc.MethodDescriptor<StateServiceOuterClass.GetLatestPrunedOffsetsRequest,StateServiceOuterClass.GetLatestPrunedOffsetsResponse> static io.grpc.MethodDescriptor<StateServiceOuterClass.GetLedgerEndRequest,StateServiceOuterClass.GetLedgerEndResponse> static io.grpc.ServiceDescriptornewBlockingStub(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
-
getGetActiveContractsMethod
public static io.grpc.MethodDescriptor<StateServiceOuterClass.GetActiveContractsRequest,StateServiceOuterClass.GetActiveContractsResponse> getGetActiveContractsMethod() -
getGetConnectedSynchronizersMethod
public static io.grpc.MethodDescriptor<StateServiceOuterClass.GetConnectedSynchronizersRequest,StateServiceOuterClass.GetConnectedSynchronizersResponse> getGetConnectedSynchronizersMethod() -
getGetLedgerEndMethod
public static io.grpc.MethodDescriptor<StateServiceOuterClass.GetLedgerEndRequest,StateServiceOuterClass.GetLedgerEndResponse> getGetLedgerEndMethod() -
getGetLatestPrunedOffsetsMethod
public static io.grpc.MethodDescriptor<StateServiceOuterClass.GetLatestPrunedOffsetsRequest,StateServiceOuterClass.GetLatestPrunedOffsetsResponse> getGetLatestPrunedOffsetsMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
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(StateServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-