Nebula
Nebula
|
类型定义 | |
typedef unsigned int | uint32_t |
typedef unsigned int neb::uint32_t |
通信通道状态
enum neb::E_CMD |
保留命令字
enum neb::E_CMD_STATUS |
enum neb::E_CODEC_STATUS |
编解码状态
enum neb::E_CODEC_TYPE |
enum neb::E_COL_TYPE |
enum neb::E_ERROR_NO |
系统错误码定义
std::string neb::CharToHex | ( | char | c | ) |
void neb::DecodeParameter | ( | const std::string & | strParameter, |
std::map< std::string, std::string > & | mapParameters | ||
) |
std::string neb::DecodeStringToHex | ( | const std::string & | sSrc | ) |
const ::google::protobuf::EnumDescriptor * neb::E_COL_TYPE_descriptor | ( | ) |
bool neb::E_COL_TYPE_IsValid | ( | int | value | ) |
|
inline |
|
inline |
std::string neb::EncodeHexToString | ( | const std::string & | sSrc | ) |
void neb::EncodeParameter | ( | const std::map< std::string, std::string > & | mapParameters, |
std::string & | strParameter | ||
) |
unsigned char neb::FromHex | ( | unsigned char | x | ) |
char neb::HexToChar | ( | const std::string & | sHex | ) |
unsigned long long neb::htonll | ( | unsigned long long | val | ) |
const ::google::protobuf::EnumDescriptor * neb::Mydis_DbOperate_Condition_E_RELATION_descriptor | ( | ) |
bool neb::Mydis_DbOperate_Condition_E_RELATION_IsValid | ( | int | value | ) |
|
inline |
|
inline |
const ::google::protobuf::EnumDescriptor * neb::Mydis_DbOperate_ConditionGroup_E_RELATION_descriptor | ( | ) |
bool neb::Mydis_DbOperate_ConditionGroup_E_RELATION_IsValid | ( | int | value | ) |
|
inline |
|
inline |
const ::google::protobuf::EnumDescriptor * neb::Mydis_DbOperate_E_QUERY_TYPE_descriptor | ( | ) |
bool neb::Mydis_DbOperate_E_QUERY_TYPE_IsValid | ( | int | value | ) |
|
inline |
|
inline |
const ::google::protobuf::EnumDescriptor * neb::Mydis_DbOperate_OrderBy_E_RELATION_descriptor | ( | ) |
bool neb::Mydis_DbOperate_OrderBy_E_RELATION_IsValid | ( | int | value | ) |
|
inline |
|
inline |
const ::google::protobuf::EnumDescriptor * neb::Mydis_RedisOperate_OPERATE_TYPE_descriptor | ( | ) |
bool neb::Mydis_RedisOperate_OPERATE_TYPE_IsValid | ( | int | value | ) |
|
inline |
|
inline |
unsigned long long neb::ntohll | ( | unsigned long long | val | ) |
void neb::protobuf_AddDesc_mydis_2eproto | ( | ) |
void neb::protobuf_AddDesc_neb_5fsys_2eproto | ( | ) |
void neb::protobuf_AssignDesc_mydis_2eproto | ( | ) |
void neb::protobuf_AssignDesc_neb_5fsys_2eproto | ( | ) |
void neb::protobuf_ShutdownFile_mydis_2eproto | ( | ) |
void neb::protobuf_ShutdownFile_neb_5fsys_2eproto | ( | ) |
const ::google::protobuf::EnumDescriptor * neb::Result_E_RESULT_FROM_descriptor | ( | ) |
bool neb::Result_E_RESULT_FROM_IsValid | ( | int | value | ) |
|
inline |
|
inline |
unsigned char neb::ToHex | ( | unsigned char | x | ) |
std::string neb::UrlDecode | ( | const std::string & | str | ) |
std::string neb::UrlEncode | ( | const std::string & | str | ) |
const int neb::E_COL_TYPE_ARRAYSIZE = E_COL_TYPE_MAX + 1 |
const E_COL_TYPE neb::E_COL_TYPE_MAX = DOUBLE |
const E_COL_TYPE neb::E_COL_TYPE_MIN = STRING |
const unsigned long neb::FNV_64_INIT = 0x100000001b3 |
const unsigned long neb::FNV_64_PRIME = 0xcbf29ce484222325 |
const ev_tstamp neb::gc_dDefaultTimeout = 0 |
const ev_tstamp neb::gc_dNoTimeout = -1 |
const int neb::gc_iAddrLen = 64 |
IP地址长度
const int neb::gc_iBeatInterval = NODE_BEAT |
心跳间隔时间(单位:秒)
const int neb::gc_iErrBuffLen = 256 |
错误信息缓冲区大小
const int neb::gc_iMaxBuffLen = 65535 |
最大缓冲区大小
const int neb::gc_iMaxEpollEvents = 100 |
每次epoll_wait能处理的最大事件数
const unsigned int neb::gc_uiAesBit = 0x02000000 |
采用128位aes加密
const uint32 neb::gc_uiClientMsgHeadSize = 14 |
const unsigned int neb::gc_uiCmdBit = 0x0000FFFF |
命令为无符号短整型
const unsigned int neb::gc_uiCmdReq = 0x00000001 |
请求(奇数为请求,偶数为应答,通过 gc_iCmdReq & iCmd 来判断,比运算快)
const unsigned int neb::gc_uiGzipBit = 0x10000000 |
采用zip压缩
const unsigned int neb::gc_uiMaxLogFileSize = 2048000 |
const unsigned int neb::gc_uiMaxLogLineLen = 1024 |
const unsigned int neb::gc_uiMaxRollLogFileIndex = 9 |
const uint32 neb::gc_uiMsgHeadSize = 15 |
const unsigned int neb::gc_uiRc5Bit = 0x01000000 |
采用12轮Rc5加密
const unsigned int neb::gc_uiZipBit = 0x20000000 |
采用gzip压缩
const std::string neb::LogLevMsg[Logger::LEV_MAX] |
const int neb::Mydis_DbOperate_Condition_E_RELATION_E_RELATION_ARRAYSIZE = Mydis_DbOperate_Condition_E_RELATION_E_RELATION_MAX + 1 |
const Mydis_DbOperate_Condition_E_RELATION neb::Mydis_DbOperate_Condition_E_RELATION_E_RELATION_MAX = Mydis_DbOperate_Condition_E_RELATION_IN |
const Mydis_DbOperate_Condition_E_RELATION neb::Mydis_DbOperate_Condition_E_RELATION_E_RELATION_MIN = Mydis_DbOperate_Condition_E_RELATION_EQ |
const int neb::Mydis_DbOperate_ConditionGroup_E_RELATION_E_RELATION_ARRAYSIZE = Mydis_DbOperate_ConditionGroup_E_RELATION_E_RELATION_MAX + 1 |
const Mydis_DbOperate_ConditionGroup_E_RELATION neb::Mydis_DbOperate_ConditionGroup_E_RELATION_E_RELATION_MAX = Mydis_DbOperate_ConditionGroup_E_RELATION_OR |
const Mydis_DbOperate_ConditionGroup_E_RELATION neb::Mydis_DbOperate_ConditionGroup_E_RELATION_E_RELATION_MIN = Mydis_DbOperate_ConditionGroup_E_RELATION_AND |
const int neb::Mydis_DbOperate_E_QUERY_TYPE_E_QUERY_TYPE_ARRAYSIZE = Mydis_DbOperate_E_QUERY_TYPE_E_QUERY_TYPE_MAX + 1 |
const Mydis_DbOperate_E_QUERY_TYPE neb::Mydis_DbOperate_E_QUERY_TYPE_E_QUERY_TYPE_MAX = Mydis_DbOperate_E_QUERY_TYPE_DELETE |
const Mydis_DbOperate_E_QUERY_TYPE neb::Mydis_DbOperate_E_QUERY_TYPE_E_QUERY_TYPE_MIN = Mydis_DbOperate_E_QUERY_TYPE_SELECT |
const int neb::Mydis_DbOperate_OrderBy_E_RELATION_E_RELATION_ARRAYSIZE = Mydis_DbOperate_OrderBy_E_RELATION_E_RELATION_MAX + 1 |
const Mydis_DbOperate_OrderBy_E_RELATION neb::Mydis_DbOperate_OrderBy_E_RELATION_E_RELATION_MAX = Mydis_DbOperate_OrderBy_E_RELATION_DESC |
const Mydis_DbOperate_OrderBy_E_RELATION neb::Mydis_DbOperate_OrderBy_E_RELATION_E_RELATION_MIN = Mydis_DbOperate_OrderBy_E_RELATION_ASC |
const int neb::Mydis_RedisOperate_OPERATE_TYPE_OPERATE_TYPE_ARRAYSIZE = Mydis_RedisOperate_OPERATE_TYPE_OPERATE_TYPE_MAX + 1 |
const Mydis_RedisOperate_OPERATE_TYPE neb::Mydis_RedisOperate_OPERATE_TYPE_OPERATE_TYPE_MAX = Mydis_RedisOperate_OPERATE_TYPE_T_WRITE |
const Mydis_RedisOperate_OPERATE_TYPE neb::Mydis_RedisOperate_OPERATE_TYPE_OPERATE_TYPE_MIN = Mydis_RedisOperate_OPERATE_TYPE_T_READ |
const int neb::Result_E_RESULT_FROM_E_RESULT_FROM_ARRAYSIZE = Result_E_RESULT_FROM_E_RESULT_FROM_MAX + 1 |
const Result_E_RESULT_FROM neb::Result_E_RESULT_FROM_E_RESULT_FROM_MAX = Result_E_RESULT_FROM_FROM_REDIS |
const Result_E_RESULT_FROM neb::Result_E_RESULT_FROM_E_RESULT_FROM_MIN = Result_E_RESULT_FROM_FROM_DB |
struct neb::StaticDescriptorInitializer_mydis_2eproto neb::static_descriptor_initializer_mydis_2eproto_ |
struct neb::StaticDescriptorInitializer_neb_5fsys_2eproto neb::static_descriptor_initializer_neb_5fsys_2eproto_ |
const uint8 neb::WEBSOCKET_FIN = 0x80 |
const uint8 neb::WEBSOCKET_FRAME_BINARY = 2 |
const uint8 neb::WEBSOCKET_FRAME_CLOSE = 8 |
const uint8 neb::WEBSOCKET_FRAME_CONTINUE = 0 |
const uint8 neb::WEBSOCKET_FRAME_PING = 9 |
const uint8 neb::WEBSOCKET_FRAME_PONG = 10 |
const uint8 neb::WEBSOCKET_FRAME_TEXT = 1 |
const uint8 neb::WEBSOCKET_MASK = 0x80 |
const uint8 neb::WEBSOCKET_OPCODE = 0x0F |
const uint8 neb::WEBSOCKET_PAYLOAD_LEN = 0x7F |
const uint8 neb::WEBSOCKET_PAYLOAD_LEN_UINT16 = 126 |
const uint8 neb::WEBSOCKET_PAYLOAD_LEN_UINT64 = 127 |
const uint8 neb::WEBSOCKET_RSV1 = 0x40 |
const uint8 neb::WEBSOCKET_RSV2 = 0x20 |
const uint8 neb::WEBSOCKET_RSV3 = 0x10 |