public class ForgeRuntimeCodec extends FMLIndexedMessageToMessageCodec<ForgeMessage>
INBOUNDPACKETTRACKER| Constructor and Description |
|---|
ForgeRuntimeCodec() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeInto(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf source,
ForgeMessage msg) |
void |
encodeInto(io.netty.channel.ChannelHandlerContext ctx,
ForgeMessage msg,
io.netty.buffer.ByteBuf target) |
addDiscriminator, decode, encode, exceptionCaught, handlerAdded, testMessageValidityacceptInboundMessage, acceptOutboundMessage, channelRead, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredpublic void encodeInto(io.netty.channel.ChannelHandlerContext ctx,
ForgeMessage msg,
io.netty.buffer.ByteBuf target)
throws java.lang.Exception
encodeInto in class FMLIndexedMessageToMessageCodec<ForgeMessage>java.lang.Exceptionpublic void decodeInto(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf source,
ForgeMessage msg)
decodeInto in class FMLIndexedMessageToMessageCodec<ForgeMessage>