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, testMessageValidity
acceptInboundMessage, acceptOutboundMessage, channelRead, write
bind, close, connect, deregister, disconnect, flush, read
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerRemoved, isSharable
public 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.Exception
public void decodeInto(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf source, ForgeMessage msg)
decodeInto
in class FMLIndexedMessageToMessageCodec<ForgeMessage>