object LedgerClient
- Alphabetic
- By Inheritance
- LedgerClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(channel: Channel, config: LedgerClientConfiguration, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromBuilder(builder: NettyChannelBuilder, configuration: LedgerClientConfiguration, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
Takes a io.grpc.netty.NettyChannelBuilder, possibly set up with some relevant extra options that cannot be specified though the com.digitalasset.canton.ledger.client.configuration.LedgerClientConfiguration (e.g.
Takes a io.grpc.netty.NettyChannelBuilder, possibly set up with some relevant extra options that cannot be specified though the com.digitalasset.canton.ledger.client.configuration.LedgerClientConfiguration (e.g. a set of default io.grpc.CallCredentials to be used with all calls unless explicitly set on a per-call basis), sets the relevant options specified by the configuration (possibly overriding the existing builder settings), and returns a LedgerClient.
A shutdown hook is also added to close the channel when the JVM stops.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def insecureSingleHost(hostIp: String, port: Int, configuration: LedgerClientConfiguration, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def singleHost(hostIp: String, port: Int, configuration: LedgerClientConfiguration, channelConfig: LedgerClientChannelConfiguration, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
A convenient shortcut to build a LedgerClient, use fromBuilder for a more flexible alternative.
- 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])