final case class LedgerClientConfiguration(applicationId: String, ledgerIdRequirement: LedgerIdRequirement, commandClient: CommandClientConfiguration, sslContext: Option[SslContext], token: Option[String] = None) extends Product with Serializable
- applicationId
The string that will be used as an application identifier when issuing commands and retrieving transactions
- ledgerIdRequirement
A LedgerIdRequirement specifying how the ledger identifier must be checked against the one returned by the LedgerIdentityService
- commandClient
The CommandClientConfiguration that defines how the command client should be setup with regards to timeouts, commands in flight and command TTL
- sslContext
If defined, the context will be passed on to the underlying gRPC code to ensure the communication channel is secured by TLS
- token
If defined, the access token that will be passed by default, unless overridden in individual calls (mostly useful for short-lived applications)
- Alphabetic
- By Inheritance
- LedgerClientConfiguration
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
LedgerClientConfiguration(applicationId: String, ledgerIdRequirement: LedgerIdRequirement, commandClient: CommandClientConfiguration, sslContext: Option[SslContext], token: Option[String] = None)
- applicationId
The string that will be used as an application identifier when issuing commands and retrieving transactions
- ledgerIdRequirement
A LedgerIdRequirement specifying how the ledger identifier must be checked against the one returned by the LedgerIdentityService
- commandClient
The CommandClientConfiguration that defines how the command client should be setup with regards to timeouts, commands in flight and command TTL
- sslContext
If defined, the context will be passed on to the underlying gRPC code to ensure the communication channel is secured by TLS
- token
If defined, the access token that will be passed by default, unless overridden in individual calls (mostly useful for short-lived applications)
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
- val applicationId: String
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val commandClient: CommandClientConfiguration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val ledgerIdRequirement: LedgerIdRequirement
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val sslContext: Option[SslContext]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val token: Option[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()