类型定义 | |
using | MessagePtr = std::shared_ptr< google::protobuf::Message > |
消息句柄 | |
using | ProtobufCodecPtr = std::shared_ptr< ProtobufCodec > |
协议处理句柄 | |
using | basicConsumeResponsePtr = std::shared_ptr< basicConsumeResponse > |
消费响应句柄 | |
using | basicResponsePtr = std::shared_ptr< basicResponse > |
其他响应句柄 | |
using | ConsumerCallback = std::function< void(const std::string &, const BasicProperties *, const std::string &)> |
消费者回调函数 | |
using | MsgQueueBindingMap = std::unordered_map< std::string, Binding::ptr > |
消息队列绑定映射表-—消息队列->绑定信息的映射表 | |
using | BindingMap = std::unordered_map< std::string, MsgQueueBindingMap > |
绑定映射表-—交换机->消息队列绑定映射表的映射表 | |
using | openChannelRequestPtr = std::shared_ptr< openChannelRequest > |
打开信道请求 | |
using | closeChannelRequestPtr = std::shared_ptr< closeChannelRequest > |
关闭信道请求 | |
using | declareExchangeRequestPtr = std::shared_ptr< declareExchangeRequest > |
声明交换机请求 | |
using | deleteExchangeRequestPtr = std::shared_ptr< deleteExchangeRequest > |
删除交换机请求 | |
using | declareQueueRequestPtr = std::shared_ptr< declareQueueRequest > |
声明队列请求 | |
using | deleteQueueRequestPtr = std::shared_ptr< deleteQueueRequest > |
删除队列请求 | |
using | queueBindRequestPtr = std::shared_ptr< queueBindRequest > |
绑定请求 | |
using | queueUnBindRequestPtr = std::shared_ptr< queueUnBindRequest > |
解除绑定请求 | |
using | basicPublishRequestPtr = std::shared_ptr< basicPublishRequest > |
消息发布请求 | |
using | basicAckRequestPtr = std::shared_ptr< basicAckRequest > |
消息应答请求 | |
using | basicCancelRequestPtr = std::shared_ptr< basicCancelRequest > |
取消订阅请求 | |
using | basicConsumeRequestPtr = std::shared_ptr< basicConsumeRequest > |
取消订阅请求 | |
using | ExchangeMap = std::unordered_map< std::string, Exchange::ptr > |
交换机映射表 交换机名称->交换机对象指针 | |
using | QueueMap = std::unordered_map< std::string, MsgQueue::ptr > |
消息队列映射表 消息队列名称->消息队列指针 | |
枚举 | |
enum | ExchangeType : int { UNKNOWTYPE = 0 , DIRECT = 1 , FANOUT = 2 , TOPIC = 3 , ExchangeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min() , ExchangeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() } |
enum | DeliveryMode : int { UNKNOWMODE = 0 , UNDURABLE = 1 , DURABLE = 2 , DeliveryMode_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min() , DeliveryMode_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() } |
函数 | |
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | ExchangeType_descriptor () |
bool | ExchangeType_IsValid (int value) |
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * | DeliveryMode_descriptor () |
bool | DeliveryMode_IsValid (int value) |
template<typename T > | |
const std::string & | ExchangeType_Name (T enum_t_value) |
bool | ExchangeType_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExchangeType *value) |
template<typename T > | |
const std::string & | DeliveryMode_Name (T enum_t_value) |
bool | DeliveryMode_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DeliveryMode *value) |
变量 | |
Xulog::Logger::ptr | logger |
日志器的智能指针类型 | |
LogInit | log_init |
在全局范围内初始化日志器 | |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BasicPropertiesDefaultTypeInternal | _BasicProperties_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Message_PayloadDefaultTypeInternal | _Message_Payload_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MessageDefaultTypeInternal | _Message_default_instance_ |
constexpr ExchangeType | ExchangeType_MIN = UNKNOWTYPE |
constexpr ExchangeType | ExchangeType_MAX = TOPIC |
constexpr int | ExchangeType_ARRAYSIZE = ExchangeType_MAX + 1 |
constexpr DeliveryMode | DeliveryMode_MIN = UNKNOWMODE |
constexpr DeliveryMode | DeliveryMode_MAX = DURABLE |
constexpr int | DeliveryMode_ARRAYSIZE = DeliveryMode_MAX + 1 |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 openChannelRequestDefaultTypeInternal | _openChannelRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 closeChannelRequestDefaultTypeInternal | _closeChannelRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 declareExchangeRequest_ArgsEntry_DoNotUseDefaultTypeInternal | _declareExchangeRequest_ArgsEntry_DoNotUse_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 declareExchangeRequestDefaultTypeInternal | _declareExchangeRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 deleteExchangeRequestDefaultTypeInternal | _deleteExchangeRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 declareQueueRequest_ArgsEntry_DoNotUseDefaultTypeInternal | _declareQueueRequest_ArgsEntry_DoNotUse_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 declareQueueRequestDefaultTypeInternal | _declareQueueRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 deleteQueueRequestDefaultTypeInternal | _deleteQueueRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 queueBindRequestDefaultTypeInternal | _queueBindRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 queueUnBindRequestDefaultTypeInternal | _queueUnBindRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicPublishRequestDefaultTypeInternal | _basicPublishRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicAckRequestDefaultTypeInternal | _basicAckRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicConsumeRequestDefaultTypeInternal | _basicConsumeRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicCancelRequestDefaultTypeInternal | _basicCancelRequest_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicConsumeResponseDefaultTypeInternal | _basicConsumeResponse_default_instance_ |
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 basicResponseDefaultTypeInternal | _basicResponse_default_instance_ |
const char * | DBFILE = "/meta.db" |
数据库名称 | |
const char * | HOSTNAME = "VirtualHost" |
虚拟机名称 | |
const char * | DATAFILE_SUBFIX = ".mqd" |
数据文件后缀名 | |
const char * | TMPFILE_SUBFIX = ".mqd.tmp" |
临时文件后缀名 | |
const char * | MSG_VALID = "1" |
消息有效标志 | |
const char * | MSG_INVALID = "0" |
消息无效标志 | |
using XuMQ::basicAckRequestPtr = typedef std::shared_ptr<basicAckRequest> |
消息应答请求
using XuMQ::basicCancelRequestPtr = typedef std::shared_ptr<basicCancelRequest> |
取消订阅请求
using XuMQ::basicConsumeRequestPtr = typedef std::shared_ptr<basicConsumeRequest> |
取消订阅请求
using XuMQ::basicConsumeResponsePtr = typedef std::shared_ptr<basicConsumeResponse> |
消费响应句柄
using XuMQ::basicPublishRequestPtr = typedef std::shared_ptr<basicPublishRequest> |
消息发布请求
using XuMQ::basicResponsePtr = typedef std::shared_ptr<basicResponse> |
其他响应句柄
using XuMQ::BindingMap = typedef std::unordered_map<std::string, MsgQueueBindingMap> |
绑定映射表-—交换机->消息队列绑定映射表的映射表
using XuMQ::closeChannelRequestPtr = typedef std::shared_ptr<closeChannelRequest> |
关闭信道请求
typedef std::function< void(const std::string &, const BasicProperties *, const std::string &)> XuMQ::ConsumerCallback |
消费者回调函数
using XuMQ::declareExchangeRequestPtr = typedef std::shared_ptr<declareExchangeRequest> |
声明交换机请求
using XuMQ::declareQueueRequestPtr = typedef std::shared_ptr<declareQueueRequest> |
声明队列请求
using XuMQ::deleteExchangeRequestPtr = typedef std::shared_ptr<deleteExchangeRequest> |
删除交换机请求
using XuMQ::deleteQueueRequestPtr = typedef std::shared_ptr<deleteQueueRequest> |
删除队列请求
using XuMQ::ExchangeMap = typedef std::unordered_map<std::string, Exchange::ptr> |
交换机映射表 交换机名称->交换机对象指针
typedef std::shared_ptr< XuMQ::Message > XuMQ::MessagePtr |
消息句柄
proto生成的Message类型指针
using XuMQ::MsgQueueBindingMap = typedef std::unordered_map<std::string, Binding::ptr> |
消息队列绑定映射表-—消息队列->绑定信息的映射表
using XuMQ::openChannelRequestPtr = typedef std::shared_ptr<openChannelRequest> |
打开信道请求
typedef std::shared_ptr< ProtobufCodec > XuMQ::ProtobufCodecPtr |
协议处理句柄
using XuMQ::queueBindRequestPtr = typedef std::shared_ptr<queueBindRequest> |
绑定请求
using XuMQ::QueueMap = typedef std::unordered_map<std::string, MsgQueue::ptr> |
消息队列映射表 消息队列名称->消息队列指针
using XuMQ::queueUnBindRequestPtr = typedef std::shared_ptr<queueUnBindRequest> |
解除绑定请求
enum XuMQ::DeliveryMode : int |
enum XuMQ::ExchangeType : int |
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * XuMQ::DeliveryMode_descriptor | ( | ) |
bool XuMQ::DeliveryMode_IsValid | ( | int | value | ) |
|
inline |
|
inline |
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * XuMQ::ExchangeType_descriptor | ( | ) |
bool XuMQ::ExchangeType_IsValid | ( | int | value | ) |
|
inline |
|
inline |
basicAckRequestDefaultTypeInternal XuMQ::_basicAckRequest_default_instance_ |
basicCancelRequestDefaultTypeInternal XuMQ::_basicCancelRequest_default_instance_ |
basicConsumeRequestDefaultTypeInternal XuMQ::_basicConsumeRequest_default_instance_ |
basicConsumeResponseDefaultTypeInternal XuMQ::_basicConsumeResponse_default_instance_ |
BasicPropertiesDefaultTypeInternal XuMQ::_BasicProperties_default_instance_ |
basicPublishRequestDefaultTypeInternal XuMQ::_basicPublishRequest_default_instance_ |
basicResponseDefaultTypeInternal XuMQ::_basicResponse_default_instance_ |
closeChannelRequestDefaultTypeInternal XuMQ::_closeChannelRequest_default_instance_ |
declareExchangeRequest_ArgsEntry_DoNotUseDefaultTypeInternal XuMQ::_declareExchangeRequest_ArgsEntry_DoNotUse_default_instance_ |
declareExchangeRequestDefaultTypeInternal XuMQ::_declareExchangeRequest_default_instance_ |
declareQueueRequest_ArgsEntry_DoNotUseDefaultTypeInternal XuMQ::_declareQueueRequest_ArgsEntry_DoNotUse_default_instance_ |
declareQueueRequestDefaultTypeInternal XuMQ::_declareQueueRequest_default_instance_ |
deleteExchangeRequestDefaultTypeInternal XuMQ::_deleteExchangeRequest_default_instance_ |
deleteQueueRequestDefaultTypeInternal XuMQ::_deleteQueueRequest_default_instance_ |
MessageDefaultTypeInternal XuMQ::_Message_default_instance_ |
Message_PayloadDefaultTypeInternal XuMQ::_Message_Payload_default_instance_ |
openChannelRequestDefaultTypeInternal XuMQ::_openChannelRequest_default_instance_ |
queueBindRequestDefaultTypeInternal XuMQ::_queueBindRequest_default_instance_ |
queueUnBindRequestDefaultTypeInternal XuMQ::_queueUnBindRequest_default_instance_ |
const char* XuMQ::DATAFILE_SUBFIX = ".mqd" |
数据文件后缀名
const char* XuMQ::DBFILE = "/meta.db" |
数据库名称
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
const char* XuMQ::HOSTNAME = "VirtualHost" |
虚拟机名称
LogInit XuMQ::log_init |
在全局范围内初始化日志器
Xulog::Logger::ptr XuMQ::logger |
日志器的智能指针类型
const char* XuMQ::MSG_INVALID = "0" |
消息无效标志
const char* XuMQ::MSG_VALID = "1" |
消息有效标志
const char* XuMQ::TMPFILE_SUBFIX = ".mqd.tmp" |
临时文件后缀名