Class/Object

scorex.core.network

PeerConnectionHandler

Related Docs: object PeerConnectionHandler | package network

Permalink

case class PeerConnectionHandler(settings: Settings, networkControllerRef: ActorRef, peerManager: ActorRef, messagesHandler: MessageHandler, connection: ActorRef, ownSocketAddress: Option[InetSocketAddress], remote: InetSocketAddress) extends Actor with Buffering with ScorexLogging with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ScorexLogging, Buffering, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeerConnectionHandler
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ScorexLogging
  7. Buffering
  8. Actor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PeerConnectionHandler(settings: Settings, networkControllerRef: ActorRef, peerManager: ActorRef, messagesHandler: MessageHandler, connection: ActorRef, ownSocketAddress: Option[InetSocketAddress], remote: InetSocketAddress)

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

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. val MAX_PACKET_LEN: Int

    Permalink
    Definition Classes
    Buffering
  5. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val connection: ActorRef

    Permalink
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getPacket(data: ByteString): (List[ByteString], ByteString)

    Permalink

    Extracts complete packets of the specified length, preserving remainder data.

    Extracts complete packets of the specified length, preserving remainder data. If there is no complete packet, then we return an empty list. If there are multiple packets available, all packets are extracted, Any remaining data is returned to the caller for later submission

    data

    A list of the packets extracted from the raw data in order of receipt

    returns

    A list of ByteStrings containing extracted packets as well as any remaining buffer data not consumed

    Definition Classes
    Buffering
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    ScorexLogging
  20. val messagesHandler: MessageHandler

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. val networkControllerRef: ActorRef

    Permalink
  23. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  25. val ownSocketAddress: Option[InetSocketAddress]

    Permalink
  26. val peerManager: ActorRef

    Permalink
  27. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preStart(): Unit

    Permalink
    Definition Classes
    PeerConnectionHandler → Actor
  31. def receive: Receive

    Permalink
    Definition Classes
    PeerConnectionHandler → Actor
  32. val remote: InetSocketAddress

    Permalink
  33. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  34. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  35. val settings: Settings

    Permalink
  36. val supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    PeerConnectionHandler → Actor
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def workingCycle: Receive

    Permalink
  43. def workingCycleLocalInterface: Receive

    Permalink
  44. def workingCycleRemoteInterface: Receive

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ScorexLogging

Inherited from Buffering

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped