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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product