Adbase
Adinf C++ base library V2
adbase::mc::ProtocolBinaryResponseHeader Union Reference

Definition of the header structure for a response packet. More...

#include <Binary.hpp>

Public Attributes

struct {
   uint8_t   magic
 
   uint8_t   opcode
 
   uint16_t   keylen
 
   uint8_t   extlen
 
   uint8_t   datatype
 
   uint16_t   status
 
   uint32_t   bodylen
 
   uint32_t   opaque
 
   uint64_t   cas
 
response
 
uint8_t bytes [24]
 

Detailed Description

Definition of the header structure for a response packet.

See section 2

Definition at line 217 of file Binary.hpp.

Member Data Documentation

uint32_t adbase::mc::ProtocolBinaryResponseHeader::bodylen

Definition at line 225 of file Binary.hpp.

Referenced by adbase::mc::ClientHandler::get(), and adbase::mc::Binary::processData().

uint8_t adbase::mc::ProtocolBinaryResponseHeader::bytes[24]

Definition at line 229 of file Binary.hpp.

uint64_t adbase::mc::ProtocolBinaryResponseHeader::cas

Definition at line 227 of file Binary.hpp.

Referenced by adbase::mc::Binary::processData().

uint8_t adbase::mc::ProtocolBinaryResponseHeader::datatype

Definition at line 223 of file Binary.hpp.

uint8_t adbase::mc::ProtocolBinaryResponseHeader::extlen

Definition at line 222 of file Binary.hpp.

Referenced by adbase::mc::ClientHandler::get(), and adbase::mc::Binary::processData().

uint16_t adbase::mc::ProtocolBinaryResponseHeader::keylen

Definition at line 221 of file Binary.hpp.

Referenced by adbase::mc::ClientHandler::get(), and adbase::mc::Binary::processData().

uint8_t adbase::mc::ProtocolBinaryResponseHeader::magic

Definition at line 219 of file Binary.hpp.

Referenced by adbase::mc::Binary::processData().

uint32_t adbase::mc::ProtocolBinaryResponseHeader::opaque

Definition at line 226 of file Binary.hpp.

Referenced by adbase::mc::Binary::processData().

uint8_t adbase::mc::ProtocolBinaryResponseHeader::opcode

Definition at line 220 of file Binary.hpp.

Referenced by adbase::mc::ClientHandler::get(), and adbase::mc::Binary::processData().

struct { ... } adbase::mc::ProtocolBinaryResponseHeader::response
uint16_t adbase::mc::ProtocolBinaryResponseHeader::status

Definition at line 224 of file Binary.hpp.

Referenced by adbase::mc::Binary::processData().


The documentation for this union was generated from the following file: