public class RakDatagramCodec extends io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,RakDatagramPacket>
| Constructor and Description |
|---|
RakDatagramCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> list) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
RakDatagramPacket packet,
List<Object> out) |
acceptInboundMessage, acceptOutboundMessage, channelRead, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final String NAME
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
RakDatagramPacket packet,
List<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,RakDatagramPacket>Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buffer,
List<Object> list)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageCodec<io.netty.buffer.ByteBuf,RakDatagramPacket>ExceptionCopyright © 2018–2023. All rights reserved.