Message-Queues beta 1.1
A Message-Queues based Cpp
 
载入中...
搜索中...
未找到
channel.hpp 文件参考

信道与信道管理模块的头文件,包含了信道的声明和其管理类的定义。 更多...

#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>
channel.hpp 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

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) 的类,主要用于传递操作