class SquadSwitchboard extends Actor
The dedicated messaging switchboard for members and observers of a given squad.
It almost always dispatches messages to WorldSessionActor instances, much like any other Service.
The sole purpose of this ActorBus container is to manage a subscription model
that can involuntarily drop subscribers without informing them explicitly
or can just vanish without having to properly clean itself up.
- Source
- SquadSwitchboard.scala
- Alphabetic
- By Inheritance
- SquadSwitchboard
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SquadSwitchboard()
Type Members
- type Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val DelayedJoin: LongMap[ActorRef]
This collection contains the message-sending contact information for would-be squad members.
This collection contains the message-sending contact information for would-be squad members. Users are added to this collection via the
SquadSwitchboard.DelayJoinmessage and are promoted to an actual squad member through aSquadSwitchboard.Joinmessage. The messageSquadSwitchboard.Leaveremoves the user from this collection. key - unique character id; value -Actorreference for that character - val UserActorMap: LongMap[ActorRef]
This collection contains the message-sending contact reference for squad members.
This collection contains the message-sending contact reference for squad members. Users are added to this collection via the
SquadSwitchboard.Joinmessage, or a combination of theSquadSwitchboard.DelayJoinmessage followed by aSquadSwitchboard.Joinmessage with or without anActorRefhook. The messageSquadSwitchboard.Leaveremoves the user from this collection. key - unique character id; value -Actorreference for that character - val Watchers: LongMap[ActorRef]
This collection contains the message-sending contact information for squad observers.
This collection contains the message-sending contact information for squad observers. Squad observers only get "details" messages as opposed to the sort of messages squad members receive. Squad observers are promoted to an actual squad member through a
SquadSwitchboard.Watchmessage. The messageSquadSwitchboard.Leaveremoves the user from this collection. The messageSquadSwitchboard.Unwatchalso removes the user from this collection. key - unique character id; value -Actorreference for that character - def aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
- Annotations
- @InternalApi()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit val context: ActorContext
- Definition Classes
- Actor
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def postStop(): Unit
- Definition Classes
- SquadSwitchboard → Actor
- def preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws(classOf[java.lang.Exception])
- def receive: Receive
- Definition Classes
- SquadSwitchboard → Actor
- implicit final val self: ActorRef
- Definition Classes
- Actor
- final def sender(): ActorRef
- Definition Classes
- Actor
- def supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unhandled(message: Any): Unit
- Definition Classes
- Actor
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()