PacketHandler

class PacketHandler : ChannelDuplexHandler

Constructors

Link copied to clipboard
constructor(channel: Channel, player: Player)

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 override fun bind(p0: ChannelHandlerContext, p1: SocketAddress, p2: ChannelPromise)
Link copied to clipboard
open override fun channelActive(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelInactive(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelRead(ctx: ChannelHandlerContext, msg: Any)
Link copied to clipboard
open override fun channelReadComplete(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelRegistered(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelUnregistered(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun channelWritabilityChanged(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun close(p0: ChannelHandlerContext, p1: ChannelPromise)
Link copied to clipboard
open override fun connect(p0: ChannelHandlerContext, p1: SocketAddress, p2: SocketAddress, p3: ChannelPromise)
Link copied to clipboard
open override fun deregister(p0: ChannelHandlerContext, p1: ChannelPromise)
Link copied to clipboard
open override fun disconnect(p0: ChannelHandlerContext, p1: ChannelPromise)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun exceptionCaught(p0: ChannelHandlerContext, p1: Throwable)
Link copied to clipboard
open override fun flush(ctx: ChannelHandlerContext?)
Link copied to clipboard
open override fun handlerAdded(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun handlerRemoved(p0: ChannelHandlerContext)
Link copied to clipboard
Link copied to clipboard
fun injectOutgoing(msg: Any, promise: ChannelPromise?)
Link copied to clipboard
open fun isSharable(): Boolean
Link copied to clipboard
fun queueByteBuf(buf: FriendlyByteBuf)
Link copied to clipboard
open override fun read(p0: ChannelHandlerContext)
Link copied to clipboard
open override fun userEventTriggered(p0: ChannelHandlerContext, p1: Any)
Link copied to clipboard
open override fun write(ctx: ChannelHandlerContext?, msg: Any?, promise: ChannelPromise?)