Package com.daml.ledger.api.v2
Class ContractServiceGrpc.ContractServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<ContractServiceGrpc.ContractServiceFutureStub>
io.grpc.stub.AbstractFutureStub<ContractServiceGrpc.ContractServiceFutureStub>
com.daml.ledger.api.v2.ContractServiceGrpc.ContractServiceFutureStub
- Enclosing class:
ContractServiceGrpc
public static final class ContractServiceGrpc.ContractServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ContractServiceGrpc.ContractServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ContractService.
This service is experimental / alpha, therefore no backwards compatibility is guaranteed.
-
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) com.google.common.util.concurrent.ListenableFuture<ContractServiceOuterClass.GetContractResponse> Looking up contract data by contract ID.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ContractServiceGrpc.ContractServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ContractServiceGrpc.ContractServiceFutureStub>
-
getContract
public com.google.common.util.concurrent.ListenableFuture<ContractServiceOuterClass.GetContractResponse> getContract(ContractServiceOuterClass.GetContractRequest request) Looking up contract data by contract ID. This endpoint is experimental / alpha, therefore no backwards compatibility is guaranteed. This endpoint must not be used to look up contracts which entered the participant via party replication or repair service. If there is no contract exist with the contract ID, or there is no intersection with the querying_parties, an CONTRACT_PAYLOAD_NOT_FOUND error will be raised.
-