Packages

case class DoneSyncing(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder) extends NodeState with NodeRunningState with Product with Serializable

State to indicate we are not currently syncing with a peer

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

Instance Constructors

  1. new DoneSyncing(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData], waitingForDisconnection: Set[Peer], peerFinder: PeerFinder)

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. val isSyncing: Boolean
    Definition Classes
    DoneSyncingNodeRunningState
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def peerDataMap: Map[Peer, PersistentPeerData]
    Definition Classes
    NodeRunningState
  23. val peerFinder: PeerFinder
    Definition Classes
    DoneSyncingNodeRunningState
  24. val peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]
    Definition Classes
    DoneSyncingNodeRunningState
  25. def peers: Set[Peer]

    All peers the node is currently connected to

    All peers the node is currently connected to

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

    Removes the peer from our peerDataMap

    Removes the peer from our peerDataMap

    Definition Classes
    NodeRunningState
  31. def replacePeers(peerWithServicesDataMap: Map[PeerWithServices, PersistentPeerData]): NodeRunningState
    Definition Classes
    NodeRunningState
  32. def replaceWaitingForDisconnection(newWaitingForDisconnection: Set[Peer]): NodeRunningState
    Definition Classes
    NodeRunningState
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toDoneSyncing: DoneSyncing
    Definition Classes
    NodeRunningState
  35. def toFilterHeaderSync(syncPeer: Peer): FilterHeaderSync
  36. def toFilterHeaderSync: Option[FilterHeaderSync]
  37. def toHeaderSync(syncPeer: Peer): HeaderSync
  38. def toHeaderSync: Option[HeaderSync]

    Selects a random peer and returns us a header sync state returns None if we don't have a peer ot sync with

  39. def toString(): String
    Definition Classes
    NodeRunningState → AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  43. val waitingForDisconnection: Set[Peer]
    Definition Classes
    DoneSyncingNodeRunningState

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from NodeRunningState

Inherited from NodeState

Inherited from AnyRef

Inherited from Any

Ungrouped