Package crow.game.codec.netty


package crow.game.codec.netty
Package containing all the netty-specific serialization and deserialization logic for the protocol.
  • Classes
    Class
    Description
    Implementation of PacketReader that wraps a Netty ByteBuf.
    The FrameCodec converts to and from ByteBuf streams into individual Packet objects.
    Implementation of Context which wraps an upper-level context and sets the Context.Source to the given value and sets the underlying object to an instance of ChannelHandlerContext.
    Codec responsible for converting to and from Packet objects and the business-logic specific POJOs.
    This is a simplification of the code found in nettys LoggingHandler that juts dumps read and writes and is used to dump the POJOs AFTER the frame and packet codecs are done.