class SquadSubscriptionEntity extends AnyRef
- Alphabetic
- By Inheritance
- SquadSubscriptionEntity
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SquadSubscriptionEntity()
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
- def InitSquadDetail(guid: PlanetSideGUID, to: Iterable[Long], squad: Squad): Unit
Dispatch an intial message entailing the strategic information and the composition of this squad.
Dispatch an intial message entailing the strategic information and the composition of this squad. The details of the squad will be updated in full and be sent to all indicated observers.
- guid
the unique squad identifier to be used when composing the details for this message
- to
the unique character identifier numbers of the players who will receive this message
- squad
the squad from which the squad details shall be composed
- See also
SquadService.PublishFullDetails
- def InitSquadDetail(features: SquadFeatures): Unit
Dispatch a message entailing the composition of this squad.
Dispatch a message entailing the composition of this squad. This is considered the first time this information will be dispatched to any relevant observers so the details of the squad will be updated in full and be sent to all relevant observers, namely, all the occupants of the squad. External observers are ignored.
- features
the squad
- See also
InitSquadDetail(PlanetSideGUID, Iterable[Long], Squad)
- val MonitorSquadDetails: LongMap[MonitorEntry]
Players who are interested in updated details regarding a certain squad though they may not be a member of the squad.
key - unique character identifier number; value - a squad identifier number - def Publish[ANY >: Any](to: ANY, msg: Response, excluded: Iterable[Long]): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. No message can be sent using this distinction. Log a warning.
- to
something that was expected to be used as the channel for the message but is not handled as such
- msg
a message that can be stored in a
SquadServiceResponse
object- excluded
a group of character identifier numbers who should not receive the message
- def Publish[ANY >: Any](to: ANY, msg: Response): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. No message can be sent using this distinction. Log a warning.
- to
something that was expected to be used as the channel for the message but is not handled as such
- msg
a message that can be stored in a
SquadServiceResponse
object
- def Publish(to: Long, msg: Response, excluded: Iterable[Long]): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Always publishes on the
ActorRef
objects retained by theUserEvents
object.- to
a unique character identifier used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object- excluded
a group of character identifier numbers who should not receive the message
- def Publish(to: Long, msg: Response): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Always publishes on the
ActorRef
objects retained by theUserEvents
object.- to
a unique character identifier used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object
- def Publish(to: String, msg: Response, excluded: Iterable[Long]): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Strings come in three accepted patterns. The first resolves into a faction name, as determined by
PlanetSideEmpire
when transformed into a string. The second resolves into a squad's dedicated channel, a name that is formulaic. The third resolves as a unique character identifier number.- to
a string used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object- excluded
a group of character identifier numbers who should not receive the message (resolved at destination, usually)
- def Publish(to: String, msg: Response): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Strings come in three accepted patterns. The first resolves into a faction name, as determined by
PlanetSideEmpire
when transformed into a string. The second resolves into a squad's dedicated channel, a name that is formulaic. The third resolves as a unique character identifier number.- to
a string used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object
- def Publish(to: Type, msg: Response, excluded: Iterable[Long]): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Always publishes on the
SquadEvents
object.- to
a faction affiliation used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object- excluded
a group of character identifier numbers who should not receive the message (resolved at destination)
- def Publish(to: Type, msg: Response): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. Always publishes on the
SquadEvents
object.- to
a faction affiliation used as the channel for the message
- msg
a message that can be stored in a
SquadServiceResponse
object
- def Publish(to: ActorRef, msg: Response, excluded: Iterable[Long]): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. The
Actor
version wraps around the expected!
functionality.- to
an
ActorRef
which to send the message- msg
a message that can be stored in a
SquadServiceResponse
object- excluded
a group of character identifier numbers who should not receive the message (resolved at destination)
- def Publish(to: ActorRef, msg: Response): Unit
Overloaded message-sending operation.
Overloaded message-sending operation. The
Actor
version wraps around the expected!
functionality.- to
an
ActorRef
which to send the message- msg
a message that can be stored in a
SquadServiceResponse
object
- def PublishToMonitorTargets(guid: PlanetSideGUID, excluding: Iterable[Long]): Iterable[Long]
na
na
- guid
the unique squad identifier number to be used for the squad detail message
- excluding
the explicit unique character identifier numbers of individuals who should not receive the message
- See also
LongMap.subtractOne
SquadSubscriptionEntity.MonitorEntry
- val SquadEvents: GenericEventBus[SquadServiceResponse]
This is a formal
ActorEventBus
object that is reserved for faction-wide messages and squad-specific messages.This is a formal
ActorEventBus
object that is reserved for faction-wide messages and squad-specific messages. When the user joins theSquadService
with aService.Join
message that includes a confirmed faction affiliation identifier, the originActorRef
is added as a subscription. Squad channels are produced when a squad is created, and are subscribed to as users join the squad, and unsubscribed from as users leave the squad.
key - aPlanetSideEmpire
value; value -ActorRef
reference
key - a consistent squad channel name; value -ActorRef
reference- See also
CloseSquad
JoinSquad
LeaveSquad
Service.Join
Service.Leave
- def UpdateSquadDetail(guid: PlanetSideGUID, toChannel: String, excluding: Iterable[Long], details: SquadDetail): Unit
Send a message entailing some of the strategic information and the composition to the existing members of the squad.
Send a message entailing some of the strategic information and the composition to the existing members of the squad. Also send the same information to any users who are watching the squad, potentially for want to join it. The squad-specific message is contingent on finding the squad's features using the unique identifier number and, from that, reporting to the specific squad's messaging channel. Anyone watching the squad will always be updated the given details.
- guid
the unique squad identifier number to be used for the squad detail message
- toChannel
the squad broadcast channel name
- excluding
the explicit unique character identifier numbers of individuals who should not receive the message
- details
the squad details to be included in the message
- See also
DisplaySquad
Publish
SquadDetail
SquadResponse.Detail
- def UpdateSquadDetail(features: SquadFeatures, details: SquadDetail): Unit
Send a message entailing some of the strategic information and the composition to the existing members of the squad.
Send a message entailing some of the strategic information and the composition to the existing members of the squad.
- features
information about the squad
- details
the squad details to be included in the message
- See also
SquadResponse.Detail
UpdateSquadDetail(PlanetSideGUID, PlanetSideGUID, List[Long], SquadDetail)
- def UpdateSquadDetail(features: SquadFeatures): Unit
Send a message entailing the strategic information and the composition of the squad to the existing members of the squad.
Send a message entailing the strategic information and the composition of the squad to the existing members of the squad.
- features
the squad
- See also
SquadService.PublishFullDetails
UpdateSquadDetail(PlanetSideGUID, PlanetSideGUID, List[Long], SquadDetail)
- val UserEvents: LongMap[ActorRef]
This collection contains the message-sending contact reference for individuals.
This collection contains the message-sending contact reference for individuals. When the user joins the
SquadService
with aService.Join
message that includes their unique character identifier, the originActorRef
is added as a subscription. It is maintained until they disconnect entirely. The subscription is anticipated to belong to an instance ofSessionActor
.
key - unique character identifier number; value -ActorRef
reference for that character- See also
Service.Join
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 postStop(): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()