public class SimpleIndexedCodec extends FMLIndexedMessageToMessageCodec<IMessage>
INBOUNDPACKETTRACKER
Constructor and Description |
---|
SimpleIndexedCodec() |
Modifier and Type | Method and Description |
---|---|
void |
decodeInto(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf source,
IMessage msg) |
void |
encodeInto(io.netty.channel.ChannelHandlerContext ctx,
IMessage msg,
io.netty.buffer.ByteBuf target) |
addDiscriminator, decode, encode, exceptionCaught, handlerAdded, testMessageValidity
acceptInboundMessage, acceptOutboundMessage, channelRead, write
bind, close, connect, deregister, disconnect, flush, read
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerRemoved, isSharable
public void encodeInto(io.netty.channel.ChannelHandlerContext ctx, IMessage msg, io.netty.buffer.ByteBuf target) throws java.lang.Exception
encodeInto
in class FMLIndexedMessageToMessageCodec<IMessage>
java.lang.Exception
public void decodeInto(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf source, IMessage msg)
decodeInto
in class FMLIndexedMessageToMessageCodec<IMessage>