Class

org.bitcoins.node.networking.peer.PeerMessageReceiverState

Normal

Related Doc: package PeerMessageReceiverState

Permalink

case class Normal(clientConnectP: Promise[P2PClient], clientDisconnectP: Promise[Unit], versionMsgP: Promise[VersionMessage], verackMsgP: Promise[VerAckMessage.type]) extends PeerMessageReceiverState with Product with Serializable

This represents a org.bitcoins.node.networking.peer.PeerMessageReceiverState where the peer has been fully initialized and is ready to send messages to the peer on the network

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Normal
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PeerMessageReceiverState
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Normal(clientConnectP: Promise[P2PClient], clientDisconnectP: Promise[Unit], versionMsgP: Promise[VersionMessage], verackMsgP: Promise[VerAckMessage.type])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val clientConnectP: Promise[P2PClient]

    Permalink

    This promise gets completed when we receive a akka.io.Tcp.Connected message from P2PClient

    This promise gets completed when we receive a akka.io.Tcp.Connected message from P2PClient

    Definition Classes
    NormalPeerMessageReceiverState
  6. val clientDisconnectP: Promise[Unit]

    Permalink

    This promise is completed in the disconnect() when a P2PClient initiates a disconnections from our peer on the p2p network

    This promise is completed in the disconnect() when a P2PClient initiates a disconnections from our peer on the p2p network

    Definition Classes
    NormalPeerMessageReceiverState
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hasReceivedVerackMsg: Future[VerAckMessage.type]

    Permalink

    This future completes when we have received a VerAckMessage from our peer.

    This future completes when we have received a VerAckMessage from our peer. This means our peer has accepted our VersionMessage and is willing to connect with us

    Definition Classes
    PeerMessageReceiverState
  12. def hasReceivedVersionMsg: Future[VersionMessage]

    Permalink

    This future is completed when our peer has sent us their VersionMessage indicating what protocol features they support

    This future is completed when our peer has sent us their VersionMessage indicating what protocol features they support

    Definition Classes
    PeerMessageReceiverState
  13. def isConnected: Boolean

    Permalink

    If this future is completed, we are connected to our client.

    If this future is completed, we are connected to our client. Note, there is no timeout on this future and no guarantee that some one has actually initiated a connection with a P2PClient

    Definition Classes
    PeerMessageReceiverState
  14. def isDisconnected: Boolean

    Permalink
    Definition Classes
    PeerMessageReceiverState
  15. def isInitialized: Boolean

    Permalink

    Indicates we have connected and completed the initial handshake that is required to connect to the bitcoin p2p network If this is true, we can start sending and receiving normal NetworkMessage with our peer on the network

    Indicates we have connected and completed the initial handshake that is required to connect to the bitcoin p2p network If this is true, we can start sending and receiving normal NetworkMessage with our peer on the network

    Definition Classes
    PeerMessageReceiverState
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    Normal → AnyRef → Any
  22. val verackMsgP: Promise[VerAckMessage.type]

    Permalink
    Definition Classes
    NormalPeerMessageReceiverState
  23. val versionMsgP: Promise[VersionMessage]

    Permalink
    Definition Classes
    NormalPeerMessageReceiverState
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PeerMessageReceiverState

Inherited from AnyRef

Inherited from Any

Ungrouped