Packages

object JavaDecodeUtil

Java event decoders

If you use scalapb GRPC bindings, then you need to map the events to Java Proto using: JavaCreatedEvent.fromProto(ScalaCreatedEvent.toJavaProto(scalaProtoEvent)) javaapi.data.Transaction.fromProto(Transaction.toJavaProto(scalaTx))

Annotations
@nowarn()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaDecodeUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. def decodeAllArchived[T](companion: ContractCompanion[_, _, T])(transaction: Transaction): Seq[ContractId[T]]
  7. def decodeAllArchivedFromEvents[T](companion: ContractCompanion[_, _, T])(events: Seq[Event]): Seq[ContractId[T]]
  8. def decodeAllArchivedTree[TCid](companion: ContractCompanion[_, TCid, _])(transaction: TransactionTree): Seq[TCid]
  9. def decodeAllArchivedTreeFromTreeEvents[TCid](companion: ContractCompanion[_, TCid, _])(eventsById: Map[Int, TreeEvent]): Seq[TCid]
  10. def decodeAllCreated[TC](companion: ContractCompanion[TC, _, _])(transaction: Transaction): Seq[TC]
  11. def decodeAllCreatedFromEvents[TC](companion: ContractCompanion[TC, _, _])(events: Seq[Event]): Seq[TC]
  12. def decodeAllCreatedTree[TC](companion: ContractCompanion[TC, _, _])(transaction: TransactionTree): Seq[TC]
  13. def decodeArchived[T](companion: ContractCompanion[_, _, T])(event: ArchivedEvent): Option[ContractId[T]]
  14. def decodeCreated[Id, View](companion: InterfaceCompanion[_, Id, View])(event: CreatedEvent): Option[Contract[Id, View]]
  15. def decodeCreated[TC](companion: ContractCompanion[TC, _, _])(event: CreatedEvent): Option[TC]
  16. def decodeDisclosedContracts(transaction: Transaction): Seq[DisclosedContract]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def flatToCreated(transaction: Transaction): Seq[CreatedEvent]
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toDisclosedContract(synchronizerId: String, create: CreatedEvent): DisclosedContract
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

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 AnyRef

Inherited from Any

Ungrouped