client-cpp  0.10.0
kaa::KaaTcpCommon Class Reference

#include <KaaTcpCommon.hpp>

Static Public Member Functions

static std::uint8_t createBasicHeader (std::uint8_t messageType, std::uint32_t length, char *message)
 

Static Public Attributes

static const std::uint8_t FIRST_BIT = 0x80
 
static const std::uint8_t MAX_MESSAGE_TYPE_LENGTH = 0x0F
 
static const std::uint32_t MAX_MESSAGE_LENGTH = 0x0FFFFFFF
 
static const std::uint8_t PROTOCOL_VERSION = 0x01
 
static const std::uint8_t KAA_SYNC_HEADER_LENGTH = 12
 
static const std::uint8_t KAA_SYNC_ZIPPED_BIT = 0x02
 
static const std::uint8_t KAA_SYNC_ENCRYPTED_BIT = 0x04
 
static const std::uint8_t KAA_SYNC_REQUEST_BIT = 0x01
 
static const std::uint8_t KAA_CONNECT_HEADER_LENGTH = 18
 
static const std::uint8_t KAA_CONNECT_SESSION_KEY_FLAGS = 0x11
 
static const std::uint8_t KAA_CONNECT_SIGNATURE_FLAGS = 0x01
 
static const char *const KAA_TCP_NAME
 
static const std::uint16_t KAA_TCP_NAME_LENGTH = 6
 

Detailed Description

Definition at line 35 of file KaaTcpCommon.hpp.

Member Function Documentation

static std::uint8_t kaa::KaaTcpCommon::createBasicHeader ( std::uint8_t  messageType,
std::uint32_t  length,
char *  message 
)
static

Member Data Documentation

const std::uint8_t kaa::KaaTcpCommon::FIRST_BIT = 0x80
static

Definition at line 38 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_CONNECT_HEADER_LENGTH = 18
static

Definition at line 48 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_CONNECT_SESSION_KEY_FLAGS = 0x11
static

Definition at line 49 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_CONNECT_SIGNATURE_FLAGS = 0x01
static

Definition at line 50 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_SYNC_ENCRYPTED_BIT = 0x04
static

Definition at line 45 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_SYNC_HEADER_LENGTH = 12
static

Definition at line 43 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_SYNC_REQUEST_BIT = 0x01
static

Definition at line 46 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::KAA_SYNC_ZIPPED_BIT = 0x02
static

Definition at line 44 of file KaaTcpCommon.hpp.

const char* const kaa::KaaTcpCommon::KAA_TCP_NAME
static

Definition at line 52 of file KaaTcpCommon.hpp.

const std::uint16_t kaa::KaaTcpCommon::KAA_TCP_NAME_LENGTH = 6
static

Definition at line 53 of file KaaTcpCommon.hpp.

const std::uint32_t kaa::KaaTcpCommon::MAX_MESSAGE_LENGTH = 0x0FFFFFFF
static

Definition at line 40 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::MAX_MESSAGE_TYPE_LENGTH = 0x0F
static

Definition at line 39 of file KaaTcpCommon.hpp.

const std::uint8_t kaa::KaaTcpCommon::PROTOCOL_VERSION = 0x01
static

Definition at line 41 of file KaaTcpCommon.hpp.


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