This commit is contained in:
aixianling
2025-01-09 17:45:40 +08:00
commit 5c9f1dae4a
3482 changed files with 1146531 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
#ifndef LOGIC_SESSION_REQUEST_HOST_INTERFACE_H
#define LOGIC_SESSION_REQUEST_HOST_INTERFACE_H
/*
逻辑DB请求处理容器接口。派生类需要实现分配数据包对象和发送数据包接口用于
处理DB请求后给逻辑回的处理结果应答。
*/
class ISessionRequestHost
{
public:
/*
* Comments: 分配数据包
* Param const jxSrvDef::INTERSRVCMD nCmd:
* @Return CDataPacket&:
* @Remark:
*/
virtual CDataPacket& AllocDataPacket(const jxSrvDef::INTERSRVCMD nCmd) = 0;
/*
* Comments: 刷新数据包到发送队列
* Param CDataPacket &packet
* @Return void:
* @Remark:
*/
virtual void FlushDataPacket(CDataPacket &packet) = 0;
};
#endif