Packages

object ProtocolVersion extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProtocolVersion
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Beta extends Status
  2. final case class InvalidProtocolVersion(description: String) extends FailureReason with Product with Serializable
  3. type ProtocolVersionWithStatus[S <: Status] = ProtocolVersion { type Status = S }
  4. sealed trait Stable extends Status
  5. sealed trait Status extends AnyRef

    Type-level marker for whether a protocol version is stable

  6. sealed trait Unstable extends Status

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. val beta: List[ProtocolVersionWithStatus[Beta]]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def create(rawVersion: String, allowDeleted: Boolean = false): Either[String, ProtocolVersion]

    Creates a ProtocolVersion from the given raw version value and ensures that it is a supported version.

    Creates a ProtocolVersion from the given raw version value and ensures that it is a supported version.

    rawVersion

    String to be parsed.

    allowDeleted

    If true, don't fail if rawVersion corresponds to a deleted protocol version. This should only be used when parsing a version that does not correspond to the one running on the domain. One such example is the minimum supported protocol version from a participant.

  8. lazy val dev: ProtocolVersionWithStatus[Unstable]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def fromProtoPrimitive(rawVersion: Int, allowDeleted: Boolean = false): ParsingResult[ProtocolVersion]

    Like create ensures a supported protocol version; tailored to (de-)serialization purposes.

  12. def fromProtoPrimitiveS(rawVersion: String, allowDeleted: Boolean = false): ParsingResult[ProtocolVersion]

    Like create ensures a supported protocol version; tailored to (de-)serialization purposes.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. implicit val getResultProtocolVersion: GetResult[ProtocolVersion]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val latestStable: ProtocolVersion
  18. lazy val minimum: ProtocolVersion
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. implicit lazy val protocolVersionReader: ConfigReader[ProtocolVersion]
  23. implicit val protocolVersionWriter: ConfigWriter[ProtocolVersion]
  24. implicit val setParameterProtocolVersion: SetParameter[ProtocolVersion]
  25. val smallestStable: ProtocolVersion
  26. val stable: NonEmpty[List[ProtocolVersion]]

    All stable protocol versions supported by this release.

  27. val supported: NonEmpty[List[ProtocolVersion]]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. def tryCreate(rawVersion: String, allowDeleted: Boolean = false): ProtocolVersion

    Like create ensures a supported protocol version; but throws a runtime exception for errors.

  31. val unstable: NonEmpty[List[ProtocolVersionWithStatus[Unstable]]]
  32. lazy val v3: ProtocolVersionWithStatus[Stable]
  33. lazy val v4: ProtocolVersionWithStatus[Stable]
  34. lazy val v5: ProtocolVersionWithStatus[Stable]
  35. lazy val v6: ProtocolVersionWithStatus[Beta]
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. 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
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped