Package com.daml.ledger.api.v1
Class PackageServiceGrpc.PackageServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<PackageServiceGrpc.PackageServiceStub>
-
- com.daml.ledger.api.v1.PackageServiceGrpc.PackageServiceStub
-
- Enclosing class:
- PackageServiceGrpc
public static final class PackageServiceGrpc.PackageServiceStub extends io.grpc.stub.AbstractAsyncStub<PackageServiceGrpc.PackageServiceStub>
A stub to allow clients to do asynchronous rpc calls to service PackageService.Allows clients to query the Daml-LF packages that are supported by the server.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PackageServiceGrpc.PackageServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
getPackage(PackageServiceOuterClass.GetPackageRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageResponse> responseObserver)
Returns the contents of a single package.void
getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageStatusResponse> responseObserver)
Returns the status of a single package.void
listPackages(PackageServiceOuterClass.ListPackagesRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.ListPackagesResponse> responseObserver)
Returns the identifiers of all supported packages.
-
-
-
Method Detail
-
build
protected PackageServiceGrpc.PackageServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<PackageServiceGrpc.PackageServiceStub>
-
listPackages
public void listPackages(PackageServiceOuterClass.ListPackagesRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.ListPackagesResponse> responseObserver)
Returns the identifiers of all supported packages.
-
getPackage
public void getPackage(PackageServiceOuterClass.GetPackageRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageResponse> responseObserver)
Returns the contents of a single package.
-
getPackageStatus
public void getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageStatusResponse> responseObserver)
Returns the status of a single package.
-
-