Package com.daml.ledger.api.v2
Class PackageServiceGrpc.PackageServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<PackageServiceGrpc.PackageServiceBlockingStub>
com.daml.ledger.api.v2.PackageServiceGrpc.PackageServiceBlockingStub
- Enclosing class:
- PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<PackageServiceGrpc.PackageServiceBlockingStub>
A stub to allow clients to do synchronous 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) Returns the contents of a single package.Returns the status of a single package.Returns the identifiers of all supported packages.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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 PackageServiceGrpc.PackageServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceBlockingStub>
-
listPackages
public PackageServiceOuterClass.ListPackagesResponse listPackages(PackageServiceOuterClass.ListPackagesRequest request) Returns the identifiers of all supported packages.
-
getPackage
public PackageServiceOuterClass.GetPackageResponse getPackage(PackageServiceOuterClass.GetPackageRequest request) Returns the contents of a single package.
-
getPackageStatus
public PackageServiceOuterClass.GetPackageStatusResponse getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request) Returns the status of a single package.
-