EvEmu
0.8.4
11 September 2021
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
BulkMgrService.h
Go to the documentation of this file.
1
12
#ifndef __BULKMGR_SERVICE_H_INCL__
13
#define __BULKMGR_SERVICE_H_INCL__
14
15
#include "
PyService.h
"
16
#include "
cache/BulkDB.h
"
17
18
class
BulkMgrService
:
public
PyService
19
{
20
public
:
21
BulkMgrService
(
PyServiceMgr
*mgr);
22
virtual
~BulkMgrService
();
23
public
:
24
25
protected
:
26
class
Dispatcher;
27
Dispatcher *
const
m_dispatch
;
28
29
PyCallable_DECL_CALL
(UpdateBulk);
30
PyCallable_DECL_CALL
(GetAllBulkIDs);
31
PyCallable_DECL_CALL
(GetVersion);
32
PyCallable_DECL_CALL
(GetChunk);
33
PyCallable_DECL_CALL
(GetFullFiles);
34
PyCallable_DECL_CALL
(GetFullFilesChunk);
35
PyCallable_DECL_CALL
(GetUnsubmittedChanges);
36
PyCallable_DECL_CALL
(GetUnsubmittedChunk);
37
38
private
:
39
40
enum
bulkStatus
{
41
updateBulkStatusOK
= 0,
// client data == server data - no change
42
updateBulkStatusWrongBranch
= 1,
// client != server. calls GetFullFiles then GetVersion
43
updateBulkStatusHashMismatch
= 2,
// client missing files - compares server (returned) fileIDs with local fileIDs
44
updateBulkStatusClientNewer
= 3,
// client != server. calls GetFullFiles then GetVersion
45
updateBulkStatusNeedToUpdate
= 4,
// this one will be complicated. see notes in cpp
46
updateBulkStatusTooManyRevisions
= 5
// server has too many updates to bring client files up-to-date. calls GetFullFiles then GetVersion
47
};
48
};
49
50
#endif
51
BulkMgrService::updateBulkStatusOK
Definition:
BulkMgrService.h:41
BulkMgrService::updateBulkStatusWrongBranch
Definition:
BulkMgrService.h:42
BulkMgrService
Definition:
BulkMgrService.h:18
BulkMgrService::updateBulkStatusNeedToUpdate
Definition:
BulkMgrService.h:45
BulkMgrService::updateBulkStatusHashMismatch
Definition:
BulkMgrService.h:43
PyServiceMgr
Definition:
PyServiceMgr.h:47
BulkDB.h
BulkMgrService::PyCallable_DECL_CALL
PyCallable_DECL_CALL(UpdateBulk)
BulkMgrService::updateBulkStatusClientNewer
Definition:
BulkMgrService.h:44
PyService
Definition:
PyService.h:46
PyService.h
BulkMgrService::updateBulkStatusTooManyRevisions
Definition:
BulkMgrService.h:46
BulkMgrService::bulkStatus
bulkStatus
Definition:
BulkMgrService.h:40
BulkMgrService::m_dispatch
Dispatcher *const m_dispatch
Definition:
BulkMgrService.h:26
BulkMgrService::BulkMgrService
BulkMgrService(PyServiceMgr *mgr)
BulkMgrService::~BulkMgrService
virtual ~BulkMgrService()
Definition:
BulkMgrService.cpp:122
backups
local
src
eve
EvEmu_Crucible
src
eve-server
cache
BulkMgrService.h
Generated on Sat Oct 16 2021 01:20:43 for EvEmu by
1.8.8