public class FMLHandshakeCodec extends FMLIndexedMessageToMessageCodec<FMLHandshakeMessage>
INBOUNDPACKETTRACKER
Constructor and Description |
---|
FMLHandshakeCodec() |
Modifier and Type | Method and Description |
---|---|
void |
decodeInto(ChannelHandlerContext ctx,
ByteBuf source,
FMLHandshakeMessage msg) |
void |
encodeInto(ChannelHandlerContext ctx,
FMLHandshakeMessage msg,
ByteBuf target) |
addDiscriminator, decode, encode, exceptionCaught, handlerAdded, testMessageValidity
public void encodeInto(ChannelHandlerContext ctx, FMLHandshakeMessage msg, ByteBuf target) throws java.lang.Exception
encodeInto
in class FMLIndexedMessageToMessageCodec<FMLHandshakeMessage>
java.lang.Exception
public void decodeInto(ChannelHandlerContext ctx, ByteBuf source, FMLHandshakeMessage msg)
decodeInto
in class FMLIndexedMessageToMessageCodec<FMLHandshakeMessage>