public class CommandClientImpl extends java.lang.Object implements CommandClient
Constructor and Description |
---|
CommandClientImpl(@NonNull java.lang.String ledgerId,
@NonNull io.grpc.Channel channel,
@NonNull java.util.Optional<java.lang.String> accessToken) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Single<com.google.protobuf.Empty> |
submitAndWait(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<com.google.protobuf.Empty> |
submitAndWait(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<com.google.protobuf.Empty> |
submitAndWait(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<com.google.protobuf.Empty> |
submitAndWait(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<Transaction> |
submitAndWaitForTransaction(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<Transaction> |
submitAndWaitForTransaction(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<Transaction> |
submitAndWaitForTransaction(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<Transaction> |
submitAndWaitForTransaction(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<java.lang.String> |
submitAndWaitForTransactionId(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<java.lang.String> |
submitAndWaitForTransactionId(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<java.lang.String> |
submitAndWaitForTransactionId(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<java.lang.String> |
submitAndWaitForTransactionId(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<TransactionTree> |
submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<TransactionTree> |
submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
io.reactivex.Single<TransactionTree> |
submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands) |
io.reactivex.Single<TransactionTree> |
submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId,
@NonNull java.lang.String applicationId,
@NonNull java.lang.String commandId,
@NonNull java.lang.String party,
@NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs,
@NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel,
@NonNull java.util.Optional<java.time.Duration> deduplicationTime,
@NonNull java.util.List<Command> commands,
@NonNull java.lang.String accessToken) |
public CommandClientImpl(@NonNull java.lang.String ledgerId, @NonNull io.grpc.Channel channel, @NonNull java.util.Optional<java.lang.String> accessToken)
public io.reactivex.Single<com.google.protobuf.Empty> submitAndWait(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
submitAndWait
in interface CommandClient
public io.reactivex.Single<com.google.protobuf.Empty> submitAndWait(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWait
in interface CommandClient
public io.reactivex.Single<com.google.protobuf.Empty> submitAndWait(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands)
submitAndWait
in interface CommandClient
public io.reactivex.Single<com.google.protobuf.Empty> submitAndWait(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWait
in interface CommandClient
public io.reactivex.Single<java.lang.String> submitAndWaitForTransactionId(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
submitAndWaitForTransactionId
in interface CommandClient
public io.reactivex.Single<java.lang.String> submitAndWaitForTransactionId(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransactionId
in interface CommandClient
public io.reactivex.Single<java.lang.String> submitAndWaitForTransactionId(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands)
submitAndWaitForTransactionId
in interface CommandClient
public io.reactivex.Single<java.lang.String> submitAndWaitForTransactionId(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransactionId
in interface CommandClient
public io.reactivex.Single<Transaction> submitAndWaitForTransaction(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
submitAndWaitForTransaction
in interface CommandClient
public io.reactivex.Single<Transaction> submitAndWaitForTransaction(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransaction
in interface CommandClient
public io.reactivex.Single<Transaction> submitAndWaitForTransaction(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands)
submitAndWaitForTransaction
in interface CommandClient
public io.reactivex.Single<Transaction> submitAndWaitForTransaction(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransaction
in interface CommandClient
public io.reactivex.Single<TransactionTree> submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands)
submitAndWaitForTransactionTree
in interface CommandClient
public io.reactivex.Single<TransactionTree> submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.Optional<java.time.Instant> minLedgerTimeAbs, @NonNull java.util.Optional<java.time.Duration> minLedgerTimeRel, @NonNull java.util.Optional<java.time.Duration> deduplicationTime, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransactionTree
in interface CommandClient
public io.reactivex.Single<TransactionTree> submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands)
submitAndWaitForTransactionTree
in interface CommandClient
public io.reactivex.Single<TransactionTree> submitAndWaitForTransactionTree(@NonNull java.lang.String workflowId, @NonNull java.lang.String applicationId, @NonNull java.lang.String commandId, @NonNull java.lang.String party, @NonNull java.util.List<Command> commands, @NonNull java.lang.String accessToken)
submitAndWaitForTransactionTree
in interface CommandClient