org.sigilaris.node.gossip.PeerRelationship
See thePeerRelationship companion object
final case class PeerRelationship(peer: PeerIdentity, peerCorrelationId: PeerCorrelationId, outbound: Option[DirectionalSession], inbound: Option[DirectionalSession], status: PeerRelationshipStatus, wasBidirectionalOpen: Boolean)
Aggregate state of a bidirectional relationship with a single peer.
Value parameters
- inbound
-
the inbound directional session, if any
- outbound
-
the outbound directional session, if any
- peer
-
the remote peer identity
- peerCorrelationId
-
the current correlation id for this relationship
- status
-
the aggregate relationship status
- wasBidirectionalOpen
-
true if both directions were simultaneously open at any point
Attributes
- Companion
- object
- Source
- SessionEngine.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article