EvEmu
0.8.4
11 September 2021
|
#include "PyService.h"
Inherits PyCallable.
Inherited by AccountService, AgentMgrService, AggressionMgrService, AlertService, AllianceRegistry, AuthService, BeyonceService, BillMgr, BookmarkService, BrowserLockdownService, BulkMgrService, CalendarMgrService, CalendarProxy, CertificateMgrService, CharFittingMgr, CharMgrService, CharUnboundMgrService, ClientStatLogger, ClientStatsMgr, ConfigService, ContractMgr, ContractProxy, CorpBookmarkMgr, CorpFittingMgr, CorpMgrService, CorporationService, CorpRegistryService, CorpStationMgr, DevToolsProviderService, DogmaIMService, DogmaService, DungeonExplorationMgrService, DungeonService, encounterSpawnServer, EntityService, EpicArcService, FactionWarMgrService, FactoryService, FleetManager, FleetObject, FleetProxy, HoloscreenMgrService, IndexManager, InfoGatheringMgr, InsuranceService, InvBrokerService, JumpCloneService, KeeperService, LanguageService, LocalizationServerService, LookupService, LPService, LPStore, LSCService, MailingListMgrService, MailMgrService, MapService, MarketProxyService, MissionMgrService, MovementService, NetService, netStateServer, NotificationMgrService, ObjCacheService, OnlineStatusService, PaperDollService, PetitionerService, PhotoUploadService, PlanetMgrService, PlanetORB, PosMgr, RamProxyService, RepairService, ReprocessingService, ScanMgrService, ScenarioService, Search, ShipService, SkillMgrService, SlashService, SovereigntyMgrService, Standing, StationService, StationSvc, TradeService, TutorialService, UserService, VoiceMgrService, VoucherService, WarRegistryService, WorldSpaceServer, WormHoleSvc, and zActionServer.
Public Member Functions | |
PyService (PyServiceMgr *mgr, const char *serviceName) | |
virtual | ~PyService () |
virtual PyResult | Call (const std::string &method, PyCallArgs &args) |
const char * | GetName () const |
![]() | |
PyCallable () | |
virtual | ~PyCallable () |
Protected Member Functions | |
PyObject * | _BuildCachedReturn (PySubStream **result, const char *sessionInfo, CacheCheckTime check) |
virtual PyBoundObject * | CreateBoundObject (Client *pClient, const PyRep *bind_args) |
virtual PyResult | Handle_MachoResolveObject (PyCallArgs &call) |
virtual PyResult | Handle_MachoBindObject (PyCallArgs &call) |
![]() | |
void | _SetCallDispatcher (CallDispatcher *d) |
Protected Attributes | |
PyServiceMgr *const | m_manager |
Static Protected Attributes | |
static const char *const | s_checkTimeStrings [_checkCount] |
Private Attributes | |
const char * | m_name |
Definition at line 46 of file PyService.h.
|
protected |
Definition at line 57 of file PyService.h.
PyService::PyService | ( | PyServiceMgr * | mgr, |
const char * | serviceName | ||
) |
Definition at line 32 of file PyService.cpp.
|
virtual |
Definition at line 38 of file PyService.cpp.
|
protected |
Definition at line 142 of file PyService.cpp.
References _log, PyBuffer::content(), crc_hqx(), PySubStream::data(), PySubStream::EncodeData(), GetName(), PyDecRef, s_checkTimeStrings, Buffer::size(), and Win32TimeNow().
|
virtual |
Reimplemented from PyCallable.
Definition at line 43 of file PyService.cpp.
References _log, PyCallable::Call(), PyCallArgs::Dump(), GetName(), Handle_MachoBindObject(), and Handle_MachoResolveObject().
|
protectedvirtual |
Reimplemented in CharMgrService, CorpRegistryService, TradeService, AgentMgrService, CorpStationMgr, KeeperService, AllianceRegistry, ShipService, DogmaIMService, InsuranceService, JumpCloneService, InvBrokerService, ReprocessingService, SkillMgrService, PlanetMgrService, RepairService, AggressionMgrService, PlanetORB, WarRegistryService, PosMgr, FleetObject, and EntityService.
Definition at line 169 of file PyService.cpp.
References _log, and EvE::traceStack().
Referenced by Handle_MachoBindObject().
|
inline |
Definition at line 54 of file PyService.h.
References m_name.
Referenced by _BuildCachedReturn(), Call(), FleetObject::CreateBoundObject(), WarRegistryService::CreateBoundObject(), PlanetORB::CreateBoundObject(), PlanetMgrService::CreateBoundObject(), InvBrokerService::CreateBoundObject(), DogmaIMService::CreateBoundObject(), CorpStationMgr::CreateBoundObject(), TradeService::CreateBoundObject(), CharMgrService::CreateBoundObject(), Handle_MachoBindObject(), Handle_MachoResolveObject(), and SlashService::SlashCommand().
|
protectedvirtual |
Definition at line 70 of file PyService.cpp.
References _log, args, PyServiceMgr::BindObject(), PyBoundObject::Call(), PyCallArgs::client, codelog, CreateBoundObject(), GetName(), m_manager, PyStatic, PyTuple::SetItem(), PyResult::ssResult, and PyCallArgs::tuple.
Referenced by Call().
|
protectedvirtual |
Definition at line 63 of file PyService.cpp.
References _log, GetName(), PyServiceMgr::GetNodeID(), and m_manager.
Referenced by Call().
|
protected |
Definition at line 91 of file PyService.h.
Referenced by TradeService::CancelTrade(), EntityService::CreateBoundObject(), FleetObject::CreateBoundObject(), PosMgr::CreateBoundObject(), WarRegistryService::CreateBoundObject(), AggressionMgrService::CreateBoundObject(), PlanetORB::CreateBoundObject(), SkillMgrService::CreateBoundObject(), RepairService::CreateBoundObject(), PlanetMgrService::CreateBoundObject(), ReprocessingService::CreateBoundObject(), InvBrokerService::CreateBoundObject(), JumpCloneService::CreateBoundObject(), DogmaIMService::CreateBoundObject(), InsuranceService::CreateBoundObject(), ShipService::CreateBoundObject(), AllianceRegistry::CreateBoundObject(), AgentMgrService::CreateBoundObject(), KeeperService::CreateBoundObject(), CorpStationMgr::CreateBoundObject(), TradeService::CreateBoundObject(), CorpRegistryService::CreateBoundObject(), CharMgrService::CreateBoundObject(), Handle_MachoBindObject(), and Handle_MachoResolveObject().
|
private |
Definition at line 94 of file PyService.h.
Referenced by GetName().
|
staticprotected |
Definition at line 81 of file PyService.h.
Referenced by _BuildCachedReturn().