Packages

case class HeaderSync(syncPeer: Peer, peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder, sentQuery: Instant) extends SyncNodeState with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderSync
  2. Serializable
  3. Product
  4. Equals
  5. SyncNodeState
  6. NodeRunningState
  7. NodeState
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HeaderSync(syncPeer: Peer, peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder, sentQuery: Instant)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addPeer(peer: Peer): NodeRunningState
    Definition Classes
    NodeRunningState
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def connectedPeerCount: Int
    Definition Classes
    NodeRunningState
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getPeerConnection(peer: Peer): Option[PeerConnection]
    Definition Classes
    NodeRunningState
  12. def getPeerData(peer: Peer): Option[PersistentPeerData]
    Definition Classes
    NodeRunningState
  13. def getPeerMsgSender(peer: Peer): Option[PeerMessageSender]
    Definition Classes
    NodeRunningState
  14. def getPeerServices(peer: Peer): Option[ServiceIdentifier]
    Definition Classes
    NodeRunningState
  15. def isConnected(peer: Peer): Boolean
    Definition Classes
    NodeRunningState
  16. def isDisconnected(peer: Peer): Boolean
    Definition Classes
    NodeRunningState
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isQueryTimedOut(duration: FiniteDuration): Boolean
    Definition Classes
    SyncNodeState
  19. def isSyncing: Boolean
    Definition Classes
    SyncNodeStateNodeRunningState
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def peerDataMap: Map[Peer, PersistentPeerData]
    Definition Classes
    NodeRunningState
  24. val peerFinder: PeerFinder
    Definition Classes
    HeaderSyncNodeRunningState
  25. val peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]
    Definition Classes
    HeaderSyncNodeRunningState
  26. def peers: Set[Peer]

    All peers the node is currently connected to

    All peers the node is currently connected to

    Definition Classes
    NodeRunningState
  27. def peersWithServices: Set[PeerWithServices]
    Definition Classes
    NodeRunningState
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. def randomPeer(excludePeers: Set[Peer], services: ServiceIdentifier): Option[Peer]
    Definition Classes
    NodeRunningState
  30. def randomPeerMessageSender(excludePeers: Set[Peer], services: ServiceIdentifier): Option[PeerMessageSender]
    Definition Classes
    NodeRunningState
  31. def removePeer(peer: Peer): NodeRunningState

    Removes the peer from our peerDataMap

    Removes the peer from our peerDataMap

    Definition Classes
    NodeRunningState
  32. def replacePeers(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]): NodeRunningState
    Definition Classes
    NodeRunningState
  33. def replaceSyncPeer: Option[SyncNodeState]

    Replaces the current sync peer with a new sync peer, returns None if there is not a new peer available

    Replaces the current sync peer with a new sync peer, returns None if there is not a new peer available

    Definition Classes
    SyncNodeState
  34. def replaceSyncPeer(newSyncPeer: Peer): SyncNodeState
    Definition Classes
    SyncNodeState
  35. def replaceWaitingForDisconnection(newWaitingForDisconnection: Set[Peer]): NodeRunningState
    Definition Classes
    NodeRunningState
  36. val sentQuery: Instant

    The time when we sent the last query

    The time when we sent the last query

    Definition Classes
    HeaderSyncSyncNodeState
  37. def services: ServiceIdentifier

    Services of our syncPeer

    Services of our syncPeer

    Definition Classes
    SyncNodeState
  38. val syncPeer: Peer
    Definition Classes
    HeaderSyncSyncNodeState
  39. def syncPeerMessageSender: PeerMessageSender
    Definition Classes
    SyncNodeState
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toDoneSyncing: DoneSyncing
    Definition Classes
    NodeRunningState
  42. def toFilterHeaderSync: FilterHeaderSync
    Definition Classes
    SyncNodeState
  43. def toFilterSync: FilterSync
    Definition Classes
    SyncNodeState
  44. def toString(): String
    Definition Classes
    SyncNodeStateNodeRunningState → AnyRef → Any
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  48. val waitingForDisconnection: Set[Peer]
    Definition Classes
    HeaderSyncNodeRunningState

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SyncNodeState

Inherited from NodeRunningState

Inherited from NodeState

Inherited from AnyRef

Inherited from Any

Ungrouped