Class FrameDecoder.CorruptFrame

  • Enclosing class:
    FrameDecoder

    public static final class FrameDecoder.CorruptFrame
    extends FrameDecoder.Frame
    A corrupted frame was encountered; this represents the knowledge we have about this frame, and whether or not the stream is recoverable. Generally we consider a frame with corrupted header as unrecoverable, and frames with intact header, but corrupted payload - as recoverable, since we know and can skip payload size. InboundMessageHandler further has its own idea of which frames are and aren't recoverable. A recoverable FrameDecoder.CorruptFrame can be considered unrecoverable by InboundMessageHandler if it's the first frame of a large message (isn't self contained).
    • Field Detail

      • readCRC

        public final int readCRC
      • computedCRC

        public final int computedCRC
    • Method Detail

      • isRecoverable

        public boolean isRecoverable()