Package com.daml.ledger.rxjava.grpc
Class PackageClientImpl
- java.lang.Object
-
- com.daml.ledger.rxjava.grpc.PackageClientImpl
-
- All Implemented Interfaces:
PackageClient
public class PackageClientImpl extends java.lang.Object implements PackageClient
-
-
Constructor Summary
Constructors Constructor Description PackageClientImpl(java.lang.String ledgerId, io.grpc.Channel channel, com.daml.grpc.adapter.ExecutionSequencerFactory sequencerFactory, java.util.Optional<java.lang.String> accessToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.lang.String accessToken)
io.reactivex.Single<GetPackageStatusResponse>
getPackageStatus(java.lang.String packageId, java.util.Optional<java.lang.String> accessToken)
io.reactivex.Flowable<java.lang.String>
listPackages()
io.reactivex.Flowable<java.lang.String>
listPackages(java.lang.String accessToken)
-
-
-
Method Detail
-
listPackages
public io.reactivex.Flowable<java.lang.String> listPackages()
- Specified by:
listPackages
in interfacePackageClient
-
listPackages
public io.reactivex.Flowable<java.lang.String> listPackages(java.lang.String accessToken)
- Specified by:
listPackages
in interfacePackageClient
-
getPackage
public io.reactivex.Single<GetPackageResponse> getPackage(java.lang.String packageId)
- Specified by:
getPackage
in interfacePackageClient
-
getPackage
public io.reactivex.Single<GetPackageResponse> getPackage(java.lang.String packageId, java.lang.String accessToken)
- Specified by:
getPackage
in interfacePackageClient
-
getPackageStatus
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId, java.util.Optional<java.lang.String> accessToken)
-
getPackageStatus
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId)
- Specified by:
getPackageStatus
in interfacePackageClient
-
getPackageStatus
public io.reactivex.Single<GetPackageStatusResponse> getPackageStatus(java.lang.String packageId, java.lang.String accessToken)
- Specified by:
getPackageStatus
in interfacePackageClient
-
-