object VoiceWsHandler
- Source
- VoiceWsHandler.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VoiceWsHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait Command extends AnyRef
- case class GotLocalIP(localAddress: String, localPort: Int) extends Command with Product with Serializable
- case class Restart(fresh: Boolean, duration: FiniteDuration) extends Command with Product with Serializable
- case class SendHeartbeat(nonce: Int) extends Command with Product with Serializable
- case class SetSpeaking(speaking: SpeakingFlag) extends Command with Product with Serializable
Value Members
- def apply(address: String, parent: ActorRef[VoiceHandler.Command], sendTo: Option[ActorRef[AudioAPIMessage]], serverId: RawSnowflake, userId: UserId, sessionId: String, token: String): Behavior[Command]
- def createMessage(implicit system: ActorSystem[Nothing]): Flow[VoiceMessage[_], Message, NotUsed]
- def runWsFlow(ctx: ActorContext[Command], log: Logger, address: String)(implicit system: ActorSystem[Nothing]): SourceQueueWithComplete[VoiceMessage[_]]
- def wsFlow(address: String, system: ActorSystem[Nothing]): Flow[Message, Message, Future[WebSocketUpgradeResponse]]
- def wsHandling(parameters: Parameters, isRestarting: Boolean, canResume: Boolean): Behavior[Command]
- def wsUri(address: String): Uri
- case object Shutdown extends Command with Product with Serializable