public class PackageClientImpl extends java.lang.Object implements PackageClient
Constructor and Description |
---|
PackageClientImpl(java.lang.String ledgerId,
io.grpc.Channel channel,
java.util.Optional<java.lang.String> accessToken) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Single<GetPackageResponse> |
getPackage(java.lang.String packageId) |
io.reactivex.Single<GetPackageResponse> |
getPackage(java.lang.String packageId,
java.lang.String accessToken) |
io.reactivex.Single<GetPackageStatusResponse> |
getPackageStatus(java.lang.String packageId) |
io.reactivex.Single<GetPackageStatusResponse> |
getPackageStatus(java.lang.String packageId,
java.util.Optional<java.lang.String> accessToken) |
io.reactivex.Single<GetPackageStatusResponse> |
getPackageStatus(java.lang.String packageId,
java.lang.String accessToken) |
io.reactivex.Flowable<java.lang.String> |
listPackages() |
io.reactivex.Flowable<java.lang.String> |
listPackages(java.lang.String accessToken) |
public PackageClientImpl(java.lang.String ledgerId, io.grpc.Channel channel, java.util.Optional<java.lang.String> accessToken)
public io.reactivex.Flowable<java.lang.String> listPackages()
listPackages
in interface PackageClient
public io.reactivex.Flowable<java.lang.String> listPackages(java.lang.String accessToken)
listPackages
in interface PackageClient
public io.reactivex.Single<GetPackageResponse> getPackage(java.lang.String packageId)
getPackage
in interface PackageClient
public io.reactivex.Single<GetPackageResponse> getPackage(java.lang.String packageId, java.lang.String accessToken)
getPackage
in interface PackageClient
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId, java.util.Optional<java.lang.String> accessToken)
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId)
getPackageStatus
in interface PackageClient
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId, java.lang.String accessToken)
getPackageStatus
in interface PackageClient