Class

SessionRouter

Related Doc: package root

Permalink

class SessionRouter extends Actor with MDCContextAware

Login sessions are divided between two actors. The crypto session actor transparently handles all of the cryptographic setup of the connection. Once a correct crypto session has been established, all packets, after being decrypted will be passed on to the login session actor. This actor has important state that is used to maintain the login session.

> PlanetSide Session Pipeline <

read() route decrypt UDP Socket -----> [Session Router] -----> [Crypto Actor] -----> [Session Actor] | | ^ | | write() | | encrypt | | response | +--------------+ +-----------+ +-----------------+

Source
SessionRouter.scala
Linear Supertypes
MDCContextAware, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SessionRouter
  2. MDCContextAware
  3. ActorLogging
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SessionRouter(role: String, pipeline: List[SessionPipeline])

    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. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to any2stringadd[SessionRouter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SessionRouter, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to ArrowAssoc[SessionRouter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  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
    MDCContextAware → 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 closePacket: ByteVector

    Permalink
  14. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  15. def createNewSession(address: InetSocketAddress): Session

    Permalink
  16. def ensuring(cond: (SessionRouter) ⇒ Boolean, msg: ⇒ Any): SessionRouter

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to Ensuring[SessionRouter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (SessionRouter) ⇒ Boolean): SessionRouter

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to Ensuring[SessionRouter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): SessionRouter

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to Ensuring[SessionRouter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): SessionRouter

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to Ensuring[SessionRouter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to StringFormat[SessionRouter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. val idBySocket: Map[InetSocketAddress, Long]

    Permalink
  27. def initializing: Receive

    Permalink
  28. var inputRef: ActorRef

    Permalink
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def newSessionId: Long

    Permalink
  33. final def notify(): Unit

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

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

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

    Permalink
    Definition Classes
    SessionRouter → Actor
  37. def preRestart(reason: Throwable, message: Option[Any]): Unit

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

    Permalink
    Definition Classes
    SessionRouter → Actor
  39. def receive: Receive

    Permalink
    Definition Classes
    SessionRouter → Actor
  40. def removeSessionById(id: Long, reason: String, graceful: Boolean): Unit

    Permalink
  41. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  43. val sessionByActor: Map[ActorRef, Session]

    Permalink
  44. val sessionById: Map[Long, Session]

    Permalink
  45. var sessionId: Long

    Permalink
  46. val sessionReaper: Cancellable

    Permalink
  47. def started: Receive

    Permalink
  48. def supervisorStrategy: OneForOneStrategy

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def [B](y: B): (SessionRouter, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from SessionRouter to ArrowAssoc[SessionRouter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from MDCContextAware

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SessionRouter to any2stringadd[SessionRouter]

Inherited by implicit conversion StringFormat from SessionRouter to StringFormat[SessionRouter]

Inherited by implicit conversion Ensuring from SessionRouter to Ensuring[SessionRouter]

Inherited by implicit conversion ArrowAssoc from SessionRouter to ArrowAssoc[SessionRouter]

Ungrouped