object LedgerClient
- Alphabetic
- By Inheritance
- LedgerClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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)(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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromBuilder(builder: NettyChannelBuilder, configuration: LedgerClientConfiguration)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
Takes a NettyChannelBuilder, possibly set up with some relevant extra options that cannot be specified though the LedgerClientConfiguration (e.g.
Takes a NettyChannelBuilder, possibly set up with some relevant extra options that cannot be specified though the 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
singleHost(hostIp: String, port: Int, configuration: LedgerClientConfiguration)(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(): 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()
Deprecated Value Members
-
def
forChannel(configuration: LedgerClientConfiguration, channel: Channel)(implicit ec: ExecutionContext, esf: ExecutionSequencerFactory): Future[LedgerClient]
- Annotations
- @deprecated
- Deprecated
(Since version 0.13.35) Use the safer and more flexible
fromBuildermethod