fastdo
0.6.16
首页
命名空间
类
文件
文件列表
文件成员
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, time_t cleanTimeInterval = 1800UL, time_t sessionLifeTime = 1800UL );
21
23
virtual
void
clean()
override
;
24
26
virtual
bool
startup(
winux::String
const
& sessid,
SessionData
* sessData )
override
;
27
29
virtual
bool
save(
winux::String
const
& sessid,
SessionData
const
& sessData, time_t thisLifeTime = 0UL )
override
;
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:27
winux::String
XString< tchar > String
Definition:
utilities.hpp:261
eienwebx
Web功能的相关封装
Definition:
eienwebx_base.hpp:45
DISABLE_OBJECT_COPY
#define DISABLE_OBJECT_COPY(clsname)
Definition:
utilities.hpp:85
eienwebx::SessionData
winux::StringMixedMap SessionData
会话数据
Definition:
webx_SessionServer.hpp:9
winux::ushort
unsigned short ushort
Definition:
utilities.hpp:218
eienwebx::MemorySessionServer
内存式会话服务
Definition:
webx_MemorySessionServer.hpp:10
eienwebx::SessionServer
会话服务基类
Definition:
webx_SessionServer.hpp:20
dist
x64
include
webx_MemorySessionServer.hpp
生成于 2024年 十二月 24日 星期二 01:35:07 , 为 fastdo使用
1.8.11