object ProtocolVersionCompatibility
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProtocolVersionCompatibility
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class UnsupportedVersion(version: ProtocolVersion, supported: Seq[ProtocolVersion]) extends FailureReason with Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def supportedProtocols(includeAlphaVersions: Boolean, includeBetaVersions: Boolean, release: ReleaseVersion): NonEmpty[List[ProtocolVersion]]
Returns the protocol versions supported by the release.
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])