o

ackcord.voice

VoiceWsHandler

object VoiceWsHandler

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

Type Members

  1. sealed trait Command extends AnyRef
  2. case class GotLocalIP(localAddress: String, localPort: Int) extends Command with Product with Serializable
  3. case class Restart(fresh: Boolean, duration: FiniteDuration) extends Command with Product with Serializable
  4. case class SendHeartbeat(nonce: Int) extends Command with Product with Serializable
  5. case class SetSpeaking(speaking: SpeakingFlag) extends Command with Product with Serializable

Value Members

  1. def apply(address: String, parent: ActorRef[VoiceHandler.Command], sendTo: Option[ActorRef[AudioAPIMessage]], serverId: RawSnowflake, userId: UserId, sessionId: String, token: String): Behavior[Command]
  2. def createMessage(implicit system: ActorSystem[Nothing]): Flow[VoiceMessage[_], Message, NotUsed]
  3. def runWsFlow(ctx: ActorContext[Command], log: Logger, address: String)(implicit system: ActorSystem[Nothing]): SourceQueueWithComplete[VoiceMessage[_]]
  4. def wsFlow(address: String, system: ActorSystem[Nothing]): Flow[Message, Message, Future[WebSocketUpgradeResponse]]
  5. def wsHandling(parameters: Parameters, isRestarting: Boolean, canResume: Boolean): Behavior[Command]
  6. def wsUri(address: String): Uri
  7. case object Shutdown extends Command with Product with Serializable