Package com.daml.ledger.api.v2
Class EventQueryServiceGrpc.EventQueryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EventQueryServiceGrpc.EventQueryServiceStub>
com.daml.ledger.api.v2.EventQueryServiceGrpc.EventQueryServiceStub
- Enclosing class:
- EventQueryServiceGrpc
public static final class EventQueryServiceGrpc.EventQueryServiceStub
extends io.grpc.stub.AbstractAsyncStub<EventQueryServiceGrpc.EventQueryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EventQueryService.
Query events by contract id. Note that querying by contract key is not (yet) supported, as contract keys are not supported (yet) in multi-synchronizer scenarios.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
getEventsByContractId
(EventQueryServiceOuterClass.GetEventsByContractIdRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractIdResponse> responseObserver) Get the create and the consuming exercise event for the contract with the provided ID.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected EventQueryServiceGrpc.EventQueryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<EventQueryServiceGrpc.EventQueryServiceStub>
-
getEventsByContractId
public void getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractIdResponse> responseObserver) Get the create and the consuming exercise event for the contract with the provided ID. No events will be returned for contracts that have been pruned because they have already been archived before the latest pruning offset. If the contract cannot be found for the request, or all the contract-events are filtered, a CONTRACT_EVENTS_NOT_FOUND error will be raised.
-