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, handlerAddedpublic void encodeInto(ChannelHandlerContext ctx,
FMLMessage msg,
ByteBuf target)
throws java.lang.Exception
encodeInto in class FMLIndexedMessageToMessageCodec<FMLMessage>java.lang.Exceptionpublic void decodeInto(ChannelHandlerContext ctx,
ByteBuf source,
FMLMessage msg)
decodeInto in class FMLIndexedMessageToMessageCodec<FMLMessage>protected void testMessageValidity(FMLProxyPacket msg)
FMLIndexedMessageToMessageCodectestMessageValidity in class FMLIndexedMessageToMessageCodec<FMLMessage>