Class/Object

scorex.network

PeerConnectionHandler

Related Docs: object PeerConnectionHandler | package network

Permalink

case class PeerConnectionHandler(application: Application, connection: ActorRef, 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(application: Application, connection: ActorRef, 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. val application: Application

    Permalink
  6. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

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

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

    Permalink
  14. implicit val context: ActorContext

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. 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
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    ScorexLogging
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def postRestart(reason: Throwable): Unit

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

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

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

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

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

    Permalink
  30. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  32. val supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

    Permalink
  39. def workingCycleLocalInterface: Receive

    Permalink
  40. 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