Package com.daml.ledger.rxjava.grpc
Class CommandClientImpl
- java.lang.Object
-
- com.daml.ledger.rxjava.grpc.CommandClientImpl
-
- All Implemented Interfaces:
CommandClient
public class CommandClientImpl extends java.lang.Object implements CommandClient
-
-
Constructor Summary
Constructors Constructor Description CommandClientImpl(@NonNull java.lang.String ledgerId, @NonNull io.grpc.Channel channel, @NonNull java.util.Optional<java.lang.String> accessToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.reactivex.Single<com.google.protobuf.Empty>
submitAndWait(CommandsSubmission submission)
<U> io.reactivex.Single<U>
submitAndWaitForResult(@NonNull UpdateSubmission<U> submission)
io.reactivex.Single<Transaction>
submitAndWaitForTransaction(CommandsSubmission submission)
io.reactivex.Single<java.lang.String>
submitAndWaitForTransactionId(CommandsSubmission submission)
io.reactivex.Single<TransactionTree>
submitAndWaitForTransactionTree(CommandsSubmission submission)
-
-
-
Method Detail
-
submitAndWait
public io.reactivex.Single<com.google.protobuf.Empty> submitAndWait(CommandsSubmission submission)
- Specified by:
submitAndWait
in interfaceCommandClient
-
submitAndWaitForTransactionId
public io.reactivex.Single<java.lang.String> submitAndWaitForTransactionId(CommandsSubmission submission)
- Specified by:
submitAndWaitForTransactionId
in interfaceCommandClient
-
submitAndWaitForTransaction
public io.reactivex.Single<Transaction> submitAndWaitForTransaction(CommandsSubmission submission)
- Specified by:
submitAndWaitForTransaction
in interfaceCommandClient
-
submitAndWaitForTransactionTree
public io.reactivex.Single<TransactionTree> submitAndWaitForTransactionTree(CommandsSubmission submission)
- Specified by:
submitAndWaitForTransactionTree
in interfaceCommandClient
-
submitAndWaitForResult
public <U> io.reactivex.Single<U> submitAndWaitForResult(@NonNull UpdateSubmission<U> submission)
- Specified by:
submitAndWaitForResult
in interfaceCommandClient
-
-