Package com.daml.ledger.api.v2
Class PackageServiceGrpc.PackageServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
com.daml.ledger.api.v2.PackageServiceGrpc.PackageServiceFutureStub
- Enclosing class:
PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<PackageServiceGrpc.PackageServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service PackageService.
Allows clients to query the Daml-LF packages that are supported by the server.
-
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<PackageServiceOuterClass.GetPackageResponse> Returns the contents of a single package.com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageStatusResponse> Returns the status of a single package.com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListPackagesResponse> Returns the identifiers of all supported packages.com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListVettedPackagesResponse> Lists which participant node vetted what packages on which synchronizer.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 PackageServiceGrpc.PackageServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceFutureStub>
-
listPackages
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListPackagesResponse> listPackages(PackageServiceOuterClass.ListPackagesRequest request) Returns the identifiers of all supported packages.
-
getPackage
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageResponse> getPackage(PackageServiceOuterClass.GetPackageRequest request) Returns the contents of a single package.
-
getPackageStatus
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.GetPackageStatusResponse> getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request) Returns the status of a single package.
-
listVettedPackages
public com.google.common.util.concurrent.ListenableFuture<PackageServiceOuterClass.ListVettedPackagesResponse> listVettedPackages(PackageServiceOuterClass.ListVettedPackagesRequest request) Lists which participant node vetted what packages on which synchronizer. Can be called by any authenticated user.
-