object GuildRouter

Source
GuildRouter.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuildRouter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Broadcast[Inner](msg: Inner) extends Command[Nothing, Inner] with Product with Serializable

    Send a command to all guild actors that currently exists.

  2. sealed trait Command[+Event, +Inner] extends AnyRef
  3. case class EventMessage[Event](a: Event) extends Command[Event, Nothing] with Product with Serializable
  4. 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

  5. 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

  6. case class GuildActorCreated[Inner](actor: ActorRef[Inner], guildId: GuildId) extends Product with Serializable
  7. case class OnShutdownSendMsg[Inner](msg: Inner) extends ShutdownBehavior[Inner] with Product with Serializable
  8. 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.

  9. sealed trait ShutdownBehavior[+Inner] extends AnyRef

Value Members

  1. def partitioner[Inner](replyTo: Option[ActorRef[GuildActorCreated[Inner]]], behavior: (GuildId) => Behavior[Inner], notGuildHandler: Option[ActorRef[Inner]], shutdownBehavior: ShutdownBehavior[Inner]): Behavior[Command[Nothing, Inner]]
  2. case object OnShutdownStop extends ShutdownBehavior[Nothing] with Product with Serializable
  3. case object Shutdown extends Command[Nothing, Nothing] with Product with Serializable