Package com.daml.ledger.api.v1
Class EventQueryServiceGrpc.EventQueryServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<EventQueryServiceGrpc.EventQueryServiceStub>
-
- com.daml.ledger.api.v1.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 or key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventQueryServiceGrpc.EventQueryServiceStub
build(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.void
getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractKeyResponse> responseObserver)
Get all create and consuming exercise events for the contracts with the provided contract key.
-
-
-
Method Detail
-
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.
-
getEventsByContractKey
public void getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request, io.grpc.stub.StreamObserver<EventQueryServiceOuterClass.GetEventsByContractKeyResponse> responseObserver)
Get all create and consuming exercise events for the contracts with the provided contract key. Only events for unpruned contracts will be returned. Matching events are delivered in reverse chronological order, i.e., the most recent events are delivered first.
-
-