Package com.daml.ledger.api.v1
Class EventQueryServiceGrpc.EventQueryServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
-
- com.daml.ledger.api.v1.EventQueryServiceGrpc.EventQueryServiceBlockingStub
-
- Enclosing class:
- EventQueryServiceGrpc
public static final class EventQueryServiceGrpc.EventQueryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
Query events by contract id or key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventQueryServiceGrpc.EventQueryServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
EventQueryServiceOuterClass.GetEventsByContractIdResponse
getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest request)
Get the create and the consuming exercise event for the contract with the provided ID.EventQueryServiceOuterClass.GetEventsByContractKeyResponse
getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request)
Get all create and consuming exercise events for the contracts with the provided contract key.
-
-
-
Method Detail
-
build
protected EventQueryServiceGrpc.EventQueryServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<EventQueryServiceGrpc.EventQueryServiceBlockingStub>
-
getEventsByContractId
public EventQueryServiceOuterClass.GetEventsByContractIdResponse getEventsByContractId(EventQueryServiceOuterClass.GetEventsByContractIdRequest request)
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 EventQueryServiceOuterClass.GetEventsByContractKeyResponse getEventsByContractKey(EventQueryServiceOuterClass.GetEventsByContractKeyRequest request)
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.
-
-