Package com.daml.ledger.api.v2
Class VersionServiceGrpc.VersionServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VersionServiceGrpc.VersionServiceFutureStub>
com.daml.ledger.api.v2.VersionServiceGrpc.VersionServiceFutureStub
- Enclosing class:
- VersionServiceGrpc
public static final class VersionServiceGrpc.VersionServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<VersionServiceGrpc.VersionServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service VersionService.
Allows clients to retrieve information about the ledger API version
-
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<VersionServiceOuterClass.GetLedgerApiVersionResponse>
Read the Ledger API versionMethods inherited from class io.grpc.stub.AbstractFutureStub
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 VersionServiceGrpc.VersionServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<VersionServiceGrpc.VersionServiceFutureStub>
-
getLedgerApiVersion
public com.google.common.util.concurrent.ListenableFuture<VersionServiceOuterClass.GetLedgerApiVersionResponse> getLedgerApiVersion(VersionServiceOuterClass.GetLedgerApiVersionRequest request) Read the Ledger API version
-