Package crow.game.codec.netty
package crow.game.codec.netty
Package containing all the netty-specific serialization and deserialization logic for the
protocol.
-
ClassesClassDescriptionImplementation of PacketReader that wraps a Netty
ByteBuf.The FrameCodec converts to and fromByteBufstreams into individualPacketobjects.Implementation ofContextwhich wraps an upper-level context and sets theContext.Sourceto the given value and sets the underlying object to an instance ofChannelHandlerContext.Codec responsible for converting to and fromPacketobjects 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.