object GuildRouter
- Source
- GuildRouter.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GuildRouter
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class Broadcast[Inner](msg: Inner) extends Command[Nothing, Inner] with Product with Serializable
Send a command to all guild actors that currently exists.
- sealed trait Command[+Event, +Inner] extends AnyRef
- case class EventMessage[Event](a: Event) extends Command[Event, Nothing] with Product with Serializable
- case class GetGuildActor[Inner](guildId: GuildId, replyTo: ActorRef[GetGuildActorReply[Inner]]) extends Command[Nothing, Inner] with Product with Serializable
Send to the guild dispatcher to get the actor for that guild
Send to the guild dispatcher to get the actor for that guild
- guildId
The guildId to get the actor for
- case class GetGuildActorReply[Inner](guildActor: ActorRef[Inner]) extends Product with Serializable
Sent as a response to GetGuildActor
Sent as a response to GetGuildActor
- guildActor
The actor for the specified guild
- case class GuildActorCreated[Inner](actor: ActorRef[Inner], guildId: GuildId) extends Product with Serializable
- case class OnShutdownSendMsg[Inner](msg: Inner) extends ShutdownBehavior[Inner] with Product with Serializable
- case class SendToGuildActor[Inner](guildId: GuildId, msg: Inner) extends Command[Nothing, Inner] with Product with Serializable
Send a message to a guild actor that this router manages.
Send a message to a guild actor that this router manages.
- guildId
The guildId of the actor to send to.
- msg
The message to send.
- sealed trait ShutdownBehavior[+Inner] extends AnyRef
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def partitioner[Inner](replyTo: Option[ActorRef[GuildActorCreated[Inner]]], behavior: (GuildId) => Behavior[Inner], notGuildHandler: Option[ActorRef[Inner]], shutdownBehavior: ShutdownBehavior[Inner]): Behavior[Command[Nothing, Inner]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object OnShutdownStop extends ShutdownBehavior[Nothing] with Product with Serializable
- case object Shutdown extends Command[Nothing, Nothing] with Product with Serializable