SocketServer

@Service
class SocketServer(serverConfig: ServerConfig, val audioPlayerManager: AudioPlayerManager, koeOptions: KoeOptions, eventHandlers: List<PluginEventHandler>, pluginInfoModifiers: List<AudioPluginInfoModifier>) : TextWebSocketHandler, ISocketServer

Constructors

Link copied to clipboard
constructor(serverConfig: ServerConfig, audioPlayerManager: AudioPlayerManager, koeOptions: KoeOptions, eventHandlers: List<PluginEventHandler>, pluginInfoModifiers: List<AudioPluginInfoModifier>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val audioPlayerManager: AudioPlayerManager
Link copied to clipboard
Link copied to clipboard
open override val resumableSessions: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
open override fun afterConnectionClosed(session: WebSocketSession, status: CloseStatus)
Link copied to clipboard
open override fun afterConnectionEstablished(session: WebSocketSession)
Link copied to clipboard
open override fun handleMessage(session: WebSocketSession, message: WebSocketMessage<*>)
Link copied to clipboard
open override fun handleTransportError(session: WebSocketSession, exception: Throwable)
Link copied to clipboard
open override fun supportsPartialMessages(): Boolean