o

com.digitalasset.canton.version

ProtocolVersionCompatibility

object ProtocolVersionCompatibility

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

Type Members

  1. final case class UnsupportedVersion(version: ProtocolVersion, supported: Seq[ProtocolVersion]) extends FailureReason with Product with Serializable

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 canClientConnectToServer(clientSupportedVersions: Seq[ProtocolVersion], serverVersion: ProtocolVersion, clientMinimumVersion: Option[ProtocolVersion]): Either[HandshakeError, Unit]

    Returns successfully if the client and server should be compatible.

    Returns successfully if the client and server should be compatible. Otherwise returns an error message.

    The client and server are compatible if both of the following conditions are true:

    • The protocol version required by the server is among the protocol versions supported by the client.
    • The protocol version required by the server is not lower than clientMinimumVersion.

    Note that the second condition is not enforced if support for development versions is active for both client and server.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  15. def supportedProtocols(includeAlphaVersions: Boolean, includeBetaVersions: Boolean, release: ReleaseVersion): NonEmpty[List[ProtocolVersion]]

    Returns the protocol versions supported by the release.

  16. def supportedProtocols(cantonNodeParameters: CantonNodeParameters, release: ReleaseVersion = ReleaseVersion.current): NonEmpty[List[ProtocolVersion]]

    Returns the protocol versions supported by the canton node parameters and the release.

    Returns the protocol versions supported by the canton node parameters and the release.

    release

    defaults to the current release

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. 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