Class Envelope

java.lang.Object
org.apache.cassandra.transport.Envelope

public class Envelope extends Object
  • Field Details

    • PROTOCOL_VERSION_MASK

      public static final byte PROTOCOL_VERSION_MASK
      See Also:
    • body

      public final io.netty.buffer.ByteBuf body
  • Constructor Details

    • Envelope

      public Envelope(Envelope.Header header, io.netty.buffer.ByteBuf body)
      An on-wire message envelope consists of a header and a body. The header is defined the following way in native protocol version 3 and later: 0 8 16 24 32 40 +---------+---------+---------+---------+---------+ | version | flags | stream | opcode | +---------+---------+---------+---------+---------+ | length | +---------+---------+---------+---------+
  • Method Details