Package com.daml.ledger.api.v2
Class VersionServiceGrpc.VersionServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<VersionServiceGrpc.VersionServiceStub>
com.daml.ledger.api.v2.VersionServiceGrpc.VersionServiceStub
- Enclosing class:
- VersionServiceGrpc
public static final class VersionServiceGrpc.VersionServiceStub
extends io.grpc.stub.AbstractAsyncStub<VersionServiceGrpc.VersionServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected VersionServiceGrpc.VersionServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
getLedgerApiVersion
(VersionServiceOuterClass.GetLedgerApiVersionRequest request, io.grpc.stub.StreamObserver<VersionServiceOuterClass.GetLedgerApiVersionResponse> responseObserver) Read the Ledger API versionMethods inherited from class io.grpc.stub.AbstractAsyncStub
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.VersionServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<VersionServiceGrpc.VersionServiceStub>
-
getLedgerApiVersion
public void getLedgerApiVersion(VersionServiceOuterClass.GetLedgerApiVersionRequest request, io.grpc.stub.StreamObserver<VersionServiceOuterClass.GetLedgerApiVersionResponse> responseObserver) Read the Ledger API version
-