FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NoahGameFrame/NFComm/NFPluginModule/NFIEventRouteModule.h at develop · ifivebig/NoahGameFrame · GitHub
ifivebig
/
NoahGameFrame
Public
forked from
ketoo/NoahGameFrame
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
NoahGameFrame
/
NFComm
/
NFPluginModule
/
NFIEventRouteModule.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (21 loc) · 940 Bytes
Breadcrumbs
NoahGameFrame
/
NFComm
/
NFPluginModule
/
NFIEventRouteModule.h
Copy path
File metadata and controls
27 lines (21 loc) · 940 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
-------------------------------------------------------------------------
//
@FileName : NFIEventRouteModule.h.h
//
@Author : LvSheng.Huang
//
@Date : 2015-01-02
//
@Module : NFIEventRouteModule.h
//
@Desc : 事件路由,主要用来代替分布式中有些对象不在本服务器然后需要转发的事件(邮件)
//
-------------------------------------------------------------------------
#
ifndef
_NFI_EVENTROUTE_MODULE_H_
#
define
_NFI_EVENTROUTE_MODULE_H_
#
include
<
iostream
>
#
include
"
NFILogicModule.h
"
class
NFIEventRouteModule
: public NFILogicModule
{
public:
//
邮件,加好友申请,约占,等都可以最终路由成事件,再到目标服务器还原成逻辑申请
//
此时,由服务器逻辑决定这些对象跨不跨服务器聚集在一块
virtual
bool
StartRouteEvent
(
const
NFIDENTID
& self,
const
NFIDataList& xDataList) = 0;
virtual
bool
ReceiveRouteEvent
(
const
NFIDENTID
& self,
const
NFIDataList& xDataList) = 0;
};
#
endif
Back
|
FazBrowse Home
|
New Git URL