QuicSessionHandler

class QuicSessionHandler(router: Router, sessionManager: SessionManager, tokenService: TokenService, transferTokenValidator: TransferTokenValidator, certs: CertificateUtil.CertPair, playerManager: PlayerManagerImpl, eventBus: EventBus) : ChannelInboundHandlerAdapter

Handles a single QUIC session, intercepting the connect handshake and bridging streams.

Constructors

Link copied to clipboard
constructor(router: Router, sessionManager: SessionManager, tokenService: TokenService, transferTokenValidator: TransferTokenValidator, certs: CertificateUtil.CertPair, playerManager: PlayerManagerImpl, eventBus: EventBus)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun channelActive(ctx: ChannelHandlerContext)
Link copied to clipboard
open override fun channelInactive(ctx: ChannelHandlerContext)
Link copied to clipboard
open fun channelRead(ctx: ChannelHandlerContext?, msg: Any?)
Link copied to clipboard
open fun channelReadComplete(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelRegistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelUnregistered(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelWritabilityChanged(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun exceptionCaught(ctx: ChannelHandlerContext?, cause: Throwable?)
Link copied to clipboard
fun handleIncomingStream(ch: QuicStreamChannel)

Handles a newly opened QUIC stream from the client.

Link copied to clipboard
open fun handlerAdded(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerRemoved(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun userEventTriggered(ctx: ChannelHandlerContext?, evt: Any?)