Package com.daml.ledger.api.v1
Class EventQueryServiceGrpc.EventQueryServiceImplBase
- java.lang.Object
-
- com.daml.ledger.api.v1.EventQueryServiceGrpc.EventQueryServiceImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- EventQueryServiceGrpc
public abstract static class EventQueryServiceGrpc.EventQueryServiceImplBase extends java.lang.Object implements io.grpc.BindableServiceQuery events by contract id or key.
-
-
Constructor Summary
Constructors Constructor Description EventQueryServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinitionbindService()voidgetEventsByContractId(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.voidgetEventsByContractKey(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
-
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.
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindServicein interfaceio.grpc.BindableService
-
-