public class FMLRuntimeCodec extends FMLIndexedMessageToMessageCodec<FMLMessage>
INBOUNDPACKETTRACKER| Constructor and Description |
|---|
FMLRuntimeCodec() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeInto(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf source,
FMLMessage msg) |
void |
encodeInto(io.netty.channel.ChannelHandlerContext ctx,
FMLMessage msg,
io.netty.buffer.ByteBuf target) |
protected void |
testMessageValidity(FMLProxyPacket msg)
Called to verify the message received.
|
addDiscriminator, decode, encode, exceptionCaught, handlerAddedacceptInboundMessage, acceptOutboundMessage, channelRead, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic void encodeInto(io.netty.channel.ChannelHandlerContext ctx,
FMLMessage msg,
io.netty.buffer.ByteBuf target)
throws java.lang.Exception
encodeInto in class FMLIndexedMessageToMessageCodec<FMLMessage>java.lang.Exceptionpublic void decodeInto(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf source,
FMLMessage msg)
decodeInto in class FMLIndexedMessageToMessageCodec<FMLMessage>protected void testMessageValidity(FMLProxyPacket msg)
FMLIndexedMessageToMessageCodectestMessageValidity in class FMLIndexedMessageToMessageCodec<FMLMessage>