Packages

class ExternalLedgerApiClient extends BaseLedgerApiAdministration with LedgerApiCommandRunner with FeatureFlagFilter with NamedLogging

Bare, Canton agnostic parts of the ledger-api client

This implementation allows to access any kind of ledger-api client, which does not need to be Canton based. However, this comes at some cost, as some of the synchronization between nodes during transaction submission is not supported

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalLedgerApiClient
  2. FeatureFlagFilter
  3. NamedLogging
  4. LedgerApiCommandRunner
  5. BaseLedgerApiAdministration
  6. StreamingCommandHelper
  7. NoTracing
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalLedgerApiClient(hostname: String, port: Port, tls: Option[TlsClientConfig], token: Option[String] = None)(implicit consoleEnvironment: ConsoleEnvironment)

    hostname

    the hostname of the ledger api server

    port

    the port of the ledger api server

    tls

    the tls config to use on the client

    token

    the jwt token to use on the client

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cantonConfig: CantonConfig
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  6. def check[T](flag: FeatureFlag)(command: => T): T
    Attributes
    protected
    Definition Classes
    FeatureFlagFilter
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. implicit val consoleEnvironment: ConsoleEnvironment
  9. def defaultLimit: PositiveInt
    Attributes
    protected
    Definition Classes
    BaseLedgerApiAdministration
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. implicit def errorLoggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  13. implicit lazy val executionContext: ExecutionContext
    Attributes
    protected[canton]
    Definition Classes
    BaseLedgerApiAdministration
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def ledgerApiCommand[Result](command: GrpcAdminCommand[_, _, Result]): ConsoleCommandResult[Result]
    Attributes
    protected[console]
    Definition Classes
    ExternalLedgerApiClientLedgerApiCommandRunner
  18. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. val loggerFactory: NamedLoggerFactory
  20. def mkResult[Res](call: => AutoCloseable, requestDescription: String, observer: RecordingStreamObserver[Res], timeout: NonNegativeDuration): Seq[Res]
    Definition Classes
    StreamingCommandHelper
  21. val name: String
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministrationStreamingCommandHelper
  22. implicit def namedLoggingContext(implicit traceContext: TraceContext): NamedLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def optionallyAwait[Tx](tx: Tx, txId: String, txSynchronizerId: String, optTimeout: Option[NonNegativeDuration]): Tx
    Attributes
    protected
    Definition Classes
    ExternalLedgerApiClientBaseLedgerApiAdministration
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. val token: Option[String]
  31. implicit def traceContext: TraceContext
    Attributes
    protected
    Definition Classes
    NoTracing
  32. lazy val userId: String
    Attributes
    protected
    Definition Classes
    BaseLedgerApiAdministration
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. object ledger_api extends Helpful
    Definition Classes
    BaseLedgerApiAdministration
    Annotations
    @Summary(s = "Group of commands that access the ledger-api V2", flag = FeatureFlag.Testing) @Group(name = "Ledger Api")

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from FeatureFlagFilter

Inherited from NamedLogging

Inherited from LedgerApiCommandRunner

Inherited from StreamingCommandHelper

Inherited from NoTracing

Inherited from AnyRef

Inherited from Any

Ungrouped