public class SimpleIndexedCodec extends FMLIndexedMessageToMessageCodec<IMessage>
INBOUNDPACKETTRACKER
Constructor and Description |
---|
SimpleIndexedCodec() |
Modifier and Type | Method and Description |
---|---|
void |
decodeInto(ChannelHandlerContext ctx,
ByteBuf source,
IMessage msg) |
void |
encodeInto(ChannelHandlerContext ctx,
IMessage msg,
ByteBuf target) |
addDiscriminator, decode, encode, exceptionCaught, handlerAdded, testMessageValidity
public void encodeInto(ChannelHandlerContext ctx, IMessage msg, ByteBuf target) throws java.lang.Exception
encodeInto
in class FMLIndexedMessageToMessageCodec<IMessage>
java.lang.Exception
public void decodeInto(ChannelHandlerContext ctx, ByteBuf source, IMessage msg)
decodeInto
in class FMLIndexedMessageToMessageCodec<IMessage>