ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
handle_pram.h File Reference

消息调度参数块,携带发送者、接收者和负载信息。 More...

#include "actor/actor_base/core/nguid.h"
#include "actor/protocol/tprotocol.h"
#include "actor/protocol/nprotocol.h"
#include "net/server_session.h"
#include "tools/type.h"
#include <cstdint>
#include <memory>

Classes

struct  ngl::nnode_session
 节点会话信息,关联TCP会话ID与远程节点元数据。 More...
struct  ngl::handle_send< T >
 消息发送辅助模板类,根据消息类型T提供不同的发送策略。 More...
struct  ngl::handle_pram
 消息调度参数块,携带发送者、接收者和负载信息。 More...
class  ngl::handle_send< pack >

Typedefs

using ngl::ptractor = std::shared_ptr<actor_base>

Detailed Description

消息调度参数块,携带发送者、接收者和负载信息。