信道与信道管理模块的头文件,包含了信道的声明和其管理类的定义。 更多...
#include "muduo/net/TcpConnection.h"
#include "muduo/protobuf/codec.h"
#include "muduo/protobuf/dispatcher.h"
#include "../common/logger.hpp"
#include "../common/helper.hpp"
#include "../common/msg.pb.h"
#include "../common/protocol.pb.h"
#include "consumer.hpp"
#include <mutex>
#include <condition_variable>
类 | |
class | XuMQ::Channel |
客户端信道类 更多... | |
class | XuMQ::ChannelManager |
信道管理类 更多... | |
命名空间 | |
namespace | XuMQ |
类型定义 | |
using | XuMQ::MessagePtr = std::shared_ptr< google::protobuf::Message > |
消息句柄 | |
using | XuMQ::ProtobufCodecPtr = std::shared_ptr< ProtobufCodec > |
协议处理句柄 | |
using | XuMQ::basicConsumeResponsePtr = std::shared_ptr< basicConsumeResponse > |
消费响应句柄 | |
using | XuMQ::basicResponsePtr = std::shared_ptr< basicResponse > |
其他响应句柄 | |
信道与信道管理模块的头文件,包含了信道的声明和其管理类的定义。
该文件定义了服务端中信道 (Channel) 及信道管理 (ChannelManager) 的类,主要用于传递操作