SessionOpenProposal
org.sigilaris.node.gossip.SessionOpenProposal
final case class SessionOpenProposal(sessionId: DirectionalSessionId, peerCorrelationId: PeerCorrelationId, initiator: PeerIdentity, acceptor: PeerIdentity, subscriptions: SessionSubscription, heartbeatInterval: Option[Duration], livenessTimeout: Option[Duration], maxControlRetryInterval: Option[Duration])
Proposal sent by the initiator to open a gossip session.
Value parameters
- acceptor
-
the peer being asked to accept
- heartbeatInterval
-
proposed heartbeat interval, or None for default
- initiator
-
the peer initiating the session
- livenessTimeout
-
proposed liveness timeout, or None for default
- maxControlRetryInterval
-
proposed max control retry interval, or None for default
- peerCorrelationId
-
the correlation id tying bidirectional sessions
- sessionId
-
the directional session identifier
- subscriptions
-
the chain-topic pairs to subscribe to
Attributes
- Source
- GossipSessionProtocol.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article