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. final case class InvalidProtocolVersion(description: String) extends FailureReason with Product with Serializable
  2. type ProtocolVersionWithStatus[S <: Status] = ProtocolVersion { type Status = S }
  3. sealed trait Stable extends Status

    Marker for stable protocol versions

  4. sealed trait Status extends AnyRef

    Type-level marker for whether a protocol version is stable

  5. sealed trait Unstable extends Status

    Marker for unstable protocol versions

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. lazy val CNTestNet: ProtocolVersionWithStatus[Unstable]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  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): ParsingResult[ProtocolVersion]

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

  12. def fromProtoPrimitiveS(rawVersion: String): 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() @HotSpotIntrinsicCandidate()
  14. implicit val getResultProtocolVersion: GetResult[ProtocolVersion]
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def lastStableVersions2: (ProtocolVersion, ProtocolVersion)
  18. val latest: ProtocolVersion
  19. lazy val minimum: ProtocolVersion
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. implicit lazy val protocolVersionReader: ConfigReader[ProtocolVersion]
  24. implicit val protocolVersionWriter: ConfigWriter[ProtocolVersion]
  25. implicit val setParameterProtocolVersion: SetParameter[ProtocolVersion]
  26. val supported: NonEmpty[List[ProtocolVersion]]
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def tryCreate(rawVersion: String): ProtocolVersion

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

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