117 if (pDestiny ==
nullptr) {
134 if (!args.Decode(&call.
tuple)) {
135 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
141 if (pDestiny ==
nullptr) {
142 codelog(CLIENT__ERROR,
"%s: Client has no destiny manager!", m_client->
GetName());
152 if (m_client->
scan() ==
nullptr)
161 _log(SCAN__TRACE,
"ScanBound::Handle_RequestScans() - size= %u", call.
tuple->
size() );
162 call.
Dump(SCAN__DUMP);
165 if (pDestiny ==
nullptr) {
176 if (m_client->
scan() ==
nullptr)
195 Call_SingleIntList
args;
196 if (!args.Decode(&call.
tuple)) {
197 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
203 for (
auto cur : args.ints) {
207 if (pSE->IsProbeSE())
217 _log(SCAN__TRACE,
"ScanBound::Handle_DestroyProbe() - size= %u", call.
tuple->
size() );
218 call.
Dump(SCAN__DUMP);
220 Call_SingleIntegerArg arg;
221 if (!arg.Decode(&call.
tuple)) {
222 codelog(SERVICE__ERROR,
"%s: Failed to decode arguments.",
GetName());
Dispatcher *const m_dispatch
PyCallable_DECL_CALL(RequestScans)
SystemEntity * GetSE(uint32 entityID) const
virtual ProbeSE * GetProbeSE()
#define _log(type, fmt,...)
PyRep * GetItem(size_t index) const
Returns Python object.
SystemBubble * SysBubble()
std::string m_strBoundObjectName
void SendNotifyMsg(const char *fmt,...)
Dispatcher *const m_dispatch
void SafeDelete(T *&p)
Deletes and nullifies a pointer.
void _SetCallDispatcher(CallDispatcher *d)
DestinyManager * DestinyMgr()
#define codelog(type, fmt,...)
SystemManager * SystemMgr() const
void RequestScans(PyDict *dict)
PyCallable_Make_InnerDispatcher(ScanMgrService) ScanMgrService
PyServiceMgr *const m_manager
PyRep * ConeScan(Call_ConeScan args)
const char * GetName() const
#define PyCallable_REG_CALL(c, m)
PyCallable_Make_Dispatcher(ScanBound) ScanBound(PyServiceMgr *mgr
PySubStruct * BindObject(Client *pClient, PyBoundObject *pObj, PyDict *dict=nullptr, PyDict *oid=nullptr)
void SetScan(Scan *pScan)
Dispatcher *const m_dispatch
void Dump(LogType type) const
void RecoverProbe(PyList *list)
virtual ~ScanMgrService()
const char * GetName() const