DirectionalSession
org.sigilaris.node.gossip.DirectionalSession
final case class DirectionalSession(sessionId: DirectionalSessionId, direction: SessionDirection, peer: PeerIdentity, peerCorrelationId: PeerCorrelationId, proposal: SessionOpenProposal, negotiated: Option[NegotiatedSessionParameters], status: DirectionalSessionStatus, createdAt: Instant, openedAt: Option[Instant], lastActivityAt: Instant)
State of a single directional gossip session.
Value parameters
- createdAt
-
when this session was created
- direction
-
whether this session is outbound or inbound
- lastActivityAt
-
the most recent activity timestamp
- negotiated
-
the negotiated parameters (present after handshake completes)
- openedAt
-
when this session became open (if applicable)
- peer
-
the remote peer
- peerCorrelationId
-
the peer correlation id
- proposal
-
the original session open proposal
- sessionId
-
the unique directional session identifier
- status
-
the current lifecycle status
Attributes
- Source
- SessionEngine.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article