Package com.daml.ledger.api.v1
Class PackageServiceGrpc.PackageServiceImplBase
- java.lang.Object
-
- com.daml.ledger.api.v1.PackageServiceGrpc.PackageServiceImplBase
-
- All Implemented Interfaces:
io.grpc.BindableService
- Enclosing class:
- PackageServiceGrpc
public abstract static class PackageServiceGrpc.PackageServiceImplBase extends java.lang.Object implements io.grpc.BindableService
Allows clients to query the Daml-LF packages that are supported by the server.
-
-
Constructor Summary
Constructors Constructor Description PackageServiceImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.grpc.ServerServiceDefinition
bindService()
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
-
listPackages
public void listPackages(PackageServiceOuterClass.ListPackagesRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.ListPackagesResponse> responseObserver)
Returns the identifiers of all supported packages. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the request does not include a valid ledger id
-
getPackage
public void getPackage(PackageServiceOuterClass.GetPackageRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageResponse> responseObserver)
Returns the contents of a single package. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the requested package is unknown
-
getPackageStatus
public void getPackageStatus(PackageServiceOuterClass.GetPackageStatusRequest request, io.grpc.stub.StreamObserver<PackageServiceOuterClass.GetPackageStatusResponse> responseObserver)
Returns the status of a single package. Errors: - ``UNAUTHENTICATED``: if the request does not include a valid access token - ``PERMISSION_DENIED``: if the claims in the token are insufficient to perform a given operation - ``NOT_FOUND``: if the requested package is unknown
-
bindService
public final io.grpc.ServerServiceDefinition bindService()
- Specified by:
bindService
in interfaceio.grpc.BindableService
-
-