public class FMLRuntimeCodec extends FMLIndexedMessageToMessageCodec<FMLMessage>
INBOUNDPACKETTRACKER
Constructor and Description |
---|
FMLRuntimeCodec() |
Modifier and Type | Method and Description |
---|---|
void |
decodeInto(ChannelHandlerContext ctx,
ByteBuf source,
FMLMessage msg) |
void |
encodeInto(ChannelHandlerContext ctx,
FMLMessage msg,
ByteBuf target) |
protected void |
testMessageValidity(FMLProxyPacket msg)
Called to verify the message received.
|
addDiscriminator, decode, encode, exceptionCaught, handlerAdded
public void encodeInto(ChannelHandlerContext ctx, FMLMessage msg, ByteBuf target) throws java.lang.Exception
encodeInto
in class FMLIndexedMessageToMessageCodec<FMLMessage>
java.lang.Exception
public void decodeInto(ChannelHandlerContext ctx, ByteBuf source, FMLMessage msg)
decodeInto
in class FMLIndexedMessageToMessageCodec<FMLMessage>
protected void testMessageValidity(FMLProxyPacket msg)
FMLIndexedMessageToMessageCodec
testMessageValidity
in class FMLIndexedMessageToMessageCodec<FMLMessage>