fastdo
0.6.8
首页
命名空间
类
文件
文件列表
文件成员
webx_MemorySessionServer.hpp
浏览该文件的文档.
1
#pragma once
2
3
namespace
eienwebx
4
{
5
10
class
EIENWEBX_DLL
MemorySessionServer
:
public
SessionServer
11
{
12
public
:
20
MemorySessionServer
(
winux::String
const
& host,
winux::ushort
port,
winux::ulong
cleanTimeInterval = 1800UL,
winux::ulong
sessionLifeTime = 1800UL );
21
23
virtual
void
clean();
24
26
virtual
bool
startup(
winux::String
const
& sessid,
SessionData
* sessData );
27
29
virtual
bool
save(
winux::String
const
& sessid,
SessionData
const
& sessData,
winux::ulong
thisLifeTime = 0UL );
30
31
private
:
33
typedef
std::map<winux::String, SessionStruct> SessionStructMap;
34
SessionStructMap _sessions;
35
36
DISABLE_OBJECT_COPY
(
MemorySessionServer
)
37
};
38
39
40
}
// namespace eienwebx
EIENWEBX_DLL
#define EIENWEBX_DLL
Definition:
eienwebx_base.hpp:28
winux::String
XString< tchar > String
Definition:
utilities.hpp:216
eienwebx
Web功能的相关封装
Definition:
eienwebx_base.hpp:45
DISABLE_OBJECT_COPY
#define DISABLE_OBJECT_COPY(clsname)
Definition:
utilities.hpp:81
eienwebx::SessionData
winux::StringMixedMap SessionData
会话数据
Definition:
webx_SessionServer.hpp:9
winux::ushort
unsigned short ushort
Definition:
utilities.hpp:173
eienwebx::MemorySessionServer
内存式会话服务
Definition:
webx_MemorySessionServer.hpp:10
winux::ulong
unsigned long ulong
Definition:
utilities.hpp:171
eienwebx::SessionServer
会话服务基类
Definition:
webx_SessionServer.hpp:20
build
windows
include
webx_MemorySessionServer.hpp
生成于 2023年 六月 18日 星期日 10:25:58 , 为 fastdo使用
1.8.11