EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BulkMgrService Class Reference

#include "BulkMgrService.h"

Inheritance diagram for BulkMgrService:
Collaboration diagram for BulkMgrService:

Public Member Functions

 BulkMgrService (PyServiceMgr *mgr)
 
BulkMgrService.cpp

This file is for processing bulkdata Copyright 2017 Alasiya-EVEmu Team

: ozatomic (hacked for static client data) : Allan (added calls and (hacked) updates for new dgm data)

Date
: 24 January 2017
virtual ~BulkMgrService ()
 
- Public Member Functions inherited from PyService
 PyService (PyServiceMgr *mgr, const char *serviceName)
 
virtual ~PyService ()
 
virtual PyResult Call (const std::string &method, PyCallArgs &args)
 
const char * GetName () const
 
- Public Member Functions inherited from PyCallable
 PyCallable ()
 
virtual ~PyCallable ()
 

Protected Member Functions

 PyCallable_DECL_CALL (UpdateBulk)
 
 PyCallable_DECL_CALL (GetAllBulkIDs)
 
 PyCallable_DECL_CALL (GetVersion)
 
 PyCallable_DECL_CALL (GetChunk)
 
 PyCallable_DECL_CALL (GetFullFiles)
 
 PyCallable_DECL_CALL (GetFullFilesChunk)
 
 PyCallable_DECL_CALL (GetUnsubmittedChanges)
 
 PyCallable_DECL_CALL (GetUnsubmittedChunk)
 
- Protected Member Functions inherited from PyService
PyObject_BuildCachedReturn (PySubStream **result, const char *sessionInfo, CacheCheckTime check)
 
virtual PyBoundObjectCreateBoundObject (Client *pClient, const PyRep *bind_args)
 
virtual PyResult Handle_MachoResolveObject (PyCallArgs &call)
 
virtual PyResult Handle_MachoBindObject (PyCallArgs &call)
 
- Protected Member Functions inherited from PyCallable
void _SetCallDispatcher (CallDispatcher *d)
 

Protected Attributes

Dispatcher *const m_dispatch
 
- Protected Attributes inherited from PyService
PyServiceMgr *const m_manager
 

Private Types

enum  bulkStatus {
  updateBulkStatusOK = 0, updateBulkStatusWrongBranch = 1, updateBulkStatusHashMismatch = 2, updateBulkStatusClientNewer = 3,
  updateBulkStatusNeedToUpdate = 4, updateBulkStatusTooManyRevisions = 5
}
 

Additional Inherited Members

- Protected Types inherited from PyService
enum  CacheCheckTime {
  check_Always = 0, check_Never, check_in_year, check_in_6_months,
  check_in_3_months, check_in_1_month, check_in_1_week, check_in_1_day,
  check_in_12_hours, check_in_6_hours, check_in_3_hours, check_in_2_hours,
  check_in_1_hour, check_in_30_minutes, check_in_15_minutes, check_in_5_minutes,
  check_in_1_minute, check_in_30_seconds, check_in_15_seconds, check_in_5_seconds,
  check_in_1_second, _checkCount
}
 
- Static Protected Attributes inherited from PyService
static const char *const s_checkTimeStrings [_checkCount]
 

Detailed Description

Definition at line 18 of file BulkMgrService.h.

Member Enumeration Documentation

Enumerator
updateBulkStatusOK 
updateBulkStatusWrongBranch 
updateBulkStatusHashMismatch 
updateBulkStatusClientNewer 
updateBulkStatusNeedToUpdate 
updateBulkStatusTooManyRevisions 

Definition at line 40 of file BulkMgrService.h.

40  {
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  };

Constructor & Destructor Documentation

BulkMgrService::BulkMgrService ( PyServiceMgr mgr)
BulkMgrService::~BulkMgrService ( )
virtual

Definition at line 122 of file BulkMgrService.cpp.

References m_dispatch.

122  {
123  delete m_dispatch;
124 }
Dispatcher *const m_dispatch

Member Function Documentation

BulkMgrService::PyCallable_DECL_CALL ( UpdateBulk  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetAllBulkIDs  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetVersion  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetChunk  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetFullFiles  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetFullFilesChunk  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetUnsubmittedChanges  )
protected
BulkMgrService::PyCallable_DECL_CALL ( GetUnsubmittedChunk  )
protected

Member Data Documentation

Dispatcher* const BulkMgrService::m_dispatch
protected

Definition at line 26 of file BulkMgrService.h.

Referenced by ~BulkMgrService().


The documentation for this class was generated from the following files: