SessionNegotiation
Attributes
- Source
- GossipSessionProtocol.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SessionNegotiation.type
Members list
Value members
Concrete methods
Builds a session open acknowledgement, validating the acceptor's chosen parameters.
Builds a session open acknowledgement, validating the acceptor's chosen parameters.
Value parameters
- heartbeatInterval
-
the acceptor's chosen heartbeat interval
- livenessTimeout
-
the acceptor's chosen liveness timeout
- maxControlRetryInterval
-
the acceptor's chosen max control retry interval
- policy
-
the handshake policy to enforce
- proposal
-
the original proposal
Attributes
- Returns
-
the ack, or a rejection
- Source
- GossipSessionProtocol.scala
Resolves proposed session parameters against the handshake policy.
Resolves proposed session parameters against the handshake policy.
Value parameters
- policy
-
the handshake policy to enforce
- proposal
-
the session open proposal
Attributes
- Returns
-
the resolved parameters, or a rejection
- Source
- GossipSessionProtocol.scala
Validates a received ack against the original proposal and policy.
Validates a received ack against the original proposal and policy.
Value parameters
- ack
-
the received acknowledgement
- policy
-
the handshake policy to enforce
- proposal
-
the original proposal
Attributes
- Returns
-
the negotiated parameters, or a rejection
- Source
- GossipSessionProtocol.scala