final class CommandClient extends NamedLogging
Enables easy access to command services and high level operations on top of them.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandClient
- NamedLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommandClient(commandSubmissionService: CommandSubmissionServiceStub, commandCompletionService: CommandCompletionServiceStub, applicationId: String, config: CommandClientConfiguration, loggerFactory: NamedLoggerFactory)(implicit esf: ExecutionSequencerFactory)
- commandSubmissionService
gRPC service reference.
- commandCompletionService
gRPC service reference.
- applicationId
Will be applied to submitted commands.
- config
Options for changing behavior.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def completionSource(parties: Seq[String], offset: LedgerOffset, ledgerIdToUse: LedgerId, token: Option[String] = None): Source[CompletionStreamElement, NotUsed]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getCompletionEnd(ledgerIdToUse: LedgerId, token: Option[String] = None): Future[CompletionEndResponse]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: TracedLogger
- Attributes
- protected
- Definition Classes
- NamedLogging
- val loggerFactory: NamedLoggerFactory
- Attributes
- protected
- Definition Classes
- CommandClient → NamedLogging
- implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noTracingLogger: Logger
- Attributes
- protected
- Definition Classes
- NamedLogging
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def submissionFlow[Context](ledgerIdToUse: LedgerId, token: Option[String] = None): Flow[Ctx[Context, CommandSubmission], Ctx[Context, Try[Empty]], NotUsed]
- def submitSingleCommand(submitRequest: SubmitRequest, token: Option[String] = None): Future[Empty]
Submit a single command.
Submit a single command. Successful result does not guarantee that the resulting transaction has been written to the ledger.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])