PacketHandler

class PacketHandler : ChannelDuplexHandler

Properties

Link copied to clipboard
val channel: Channel
Link copied to clipboard
Link copied to clipboard
var player: Player?

Functions

Link copied to clipboard
open fun bind(ctx: ChannelHandlerContext?, localAddress: SocketAddress?, promise: ChannelPromise?)
Link copied to clipboard
open fun channelActive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun channelInactive(ctx: ChannelHandlerContext?)
Link copied to clipboard
open override 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 close(ctx: ChannelHandlerContext?, promise: ChannelPromise?)
Link copied to clipboard
open fun connect(ctx: ChannelHandlerContext?, remoteAddress: SocketAddress?, localAddress: SocketAddress?, promise: ChannelPromise?)
Link copied to clipboard
open fun deregister(ctx: ChannelHandlerContext?, promise: ChannelPromise?)
Link copied to clipboard
open fun disconnect(ctx: ChannelHandlerContext?, promise: ChannelPromise?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun exceptionCaught(ctx: ChannelHandlerContext?, cause: Throwable?)
Link copied to clipboard
open override fun flush(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerAdded(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun handlerRemoved(ctx: ChannelHandlerContext?)
Link copied to clipboard
Link copied to clipboard
fun injectOutgoing(msg: Any, promise: ChannelPromise?)
Link copied to clipboard
fun queueByteBuf(buf: FriendlyByteBuf)
Link copied to clipboard
open fun read(ctx: ChannelHandlerContext?)
Link copied to clipboard
open fun userEventTriggered(ctx: ChannelHandlerContext?, evt: Any?)
Link copied to clipboard
open override fun write(ctx: ChannelHandlerContext?, msg: Any?, promise: ChannelPromise?)