Package

ackcord

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. class GuildRouter extends Actor with ActorLogging

    Permalink

    Will send all APIMessages with the same guild to the same actor.

    Will send all APIMessages with the same guild to the same actor. Also obeys https://doc.akka.io/api/akka/current/akka/routing/Broadcast.htmlBroadcast.

    Handles - APIMessage.ChannelMessage - APIMessage.GuildMessage - APIMessage.MessageMessage - APIMessage.VoiceStateUpdate - ackcord.gateway.GatewayEvent.GuildEvent - ackcord.gateway.GatewayEvent.ComplexGuildEvent - ackcord.gateway.GatewayEvent.OptGuildEvent

    This actor has a small cache for figuring out what actor to send messages to for the gateway channel events.

    Global events like APIMessage.Ready, APIMessage.Resumed and APIMessage.UserUpdate are send to all actors.

    It also respects DiscordShard.StopShard. It sends the shutdown to all it's children, and when all the children have stopped, it stops itself. The child actors will not receive any further events once a shutdown has been started.

Value Members

  1. object GuildRouter

    Permalink
  2. object GuildStreams

    Permalink

Ungrouped