#include <Master.h>
Inheritance diagram for Master:

|
||||||||||||
|
|
Definition at line 348 of file Master.cpp. References console, DBUG_PRINT, free_messages(), master_addr, master_running, monitor, XMLData::Nil, po, Semaphore::post(), pu_config, List::Release(), PostOffice::release_sockets(), CharStr::released(), SLEEP_MSEC, status_file, toUpgradeLater, upgradeLaterURLs, upgradeLaterVersion, and userdb. |
|
|
Definition at line 1746 of file Master.cpp. References checkReserves(), CharStr::Error, List::Get_Next(), lTasksWait, List::Remove(), slave_ready, srchSlaveTaskInfos(), List::Start_Get(), startTask(), and TaskEntry::taskInfos. Referenced by checkingThread(), msgJobCtrl_Stop(), msgSlaveStatus_Ready(), msgTaskMove(), and msgTaskStatus_Refused(). |
|
|
|
||||||||||||
|
Definition at line 3827 of file Master.cpp. References CharStr::str. |
|
||||||||||||
|
Definition at line 3821 of file Master.cpp. References CharStr::str. Referenced by msgClientStatus_On(), msgJobCtrl(), msgSlaveCtrl(), msgSlaveReserve(), msgTaskCtrl(), and msgTaskInit(). |
|
|
To ensure a consistent comparison interface and to allow comparison of all kinds of different objects, we will define a comparison functions. |
|
|
|
Definition at line 824 of file Master.cpp. References cls(), console, DBUG_PRINT, inputPrompt, Lock::lock(), lock, monitor, print_status(), threads_running, Lock::unlock(), Semaphore::value(), and Semaphore::wait(). |
|
|
To allow a deep copy of data structures we will define a standard interface... This member will return a copy of itself, freshly allocated and deep copied. Reimplemented in List. Definition at line 37 of file Object.h. Referenced by List::Copy(), and List::operator=(). |
|
|
Definition at line 3610 of file Master.cpp. References DBUG_PRINT, TaskEntry::job, lTasksRun, lTasksWait, List::Remove(), TaskEntry::slave, SlaveEntry::task, and JobEntry::tasks. Referenced by checkingThread(), msgSlaveStatus_Disabled(), msgSlaveStatus_Off(), msgTaskFinish(), msgTaskStatus_Crashed(), and msgTaskStatus_Refused(). |
|
||||||||||||
|
Definition at line 1139 of file Master.cpp. References DBUG_PRINT, CharStr::Error, XMLData::getAttrib(), Address::getIP(), XMLData::getString(), Lock::lock(), lock, msgClientStatus(), msgJobCtrl(), msgSlaveCtrl(), msgSlaveReserve(), msgSlaveStatus(), msgTaskCtrl(), msgTaskFinish(), msgTaskInit(), msgTaskMove(), msgTaskStatus(), msgType(), XMLData::Nil, ZTime::Now(), ZTime::print(), CharStr::released(), XMLData::remove(), XMLData::reset(), sndStatusError(), CharStr::stored(), CharStr::str, XMLData::sub(), XMLData::tag(), Lock::unlock(), and verifyUserPswd(). Referenced by startMaster(). |
|
|
Definition at line 871 of file Master.cpp. |
|
|
Definition at line 414 of file Master.h. References init_ok. Referenced by main(). |
|
||||||||||||||||
|
Definition at line 3677 of file Master.cpp. References ZTime::GetTimeOfDay(), JobId::id, JobEntry::id, log_on, log_other_msg(), log_root, mdir_c2m, msg_direction, JobId::name(), ZTime::print_ctime(), and XMLData. Referenced by msgClientStatus_Off(), msgClientStatus_On(), msgJobCtrl(), msgSlaveReserve(), sndJobStatus(), sndSlaveAvail(), sndStatusError(), and sndTaskStatus(). |
|
||||||||||||
|
Definition at line 3701 of file Master.cpp. References ZTime::GetTimeOfDay(), log_on, log_root, mdir_c2m, mdir_m2c, mdir_m2s, mdir_s2m, msg_direction, ZTime::print_ctime(), and XMLData. Referenced by log_job_msg(), msgSlaveCtrl(), and sndSlaveStatus(). |
|
||||||||||||||||
|
Definition at line 3724 of file Master.cpp. References SlaveInfo::addr, Address::getIP(), ZTime::GetTimeOfDay(), SlaveEntry::info, log_on, log_root, mdir_s2m, msg_direction, ZTime::print_ctime(), and XMLData. Referenced by msgSlaveStatus(), msgTaskFinish(), msgTaskMove(), msgTaskStatus(), and sndMessageToSlave(). |
|
||||||||||||||||
|
Definition at line 3746 of file Master.cpp. References SlaveInfo::addr, Address::getIP(), SlaveEntry::info, log_on, log_root, ZTime::Now(), ZTime::print_hour(), running_since, ZTime::sec, slave_busy, slave_contacted, slave_disabled, slave_off, slave_ready, slave_reserved, slave_state, and ZTime::usec. Referenced by slaveSetState(). |
|
||||||||||||||||||||||||
|
Definition at line 3785 of file Master.cpp. References log_on, log_root, ZTime::print_hour(), running_since, ZTime::sec, and ZTime::usec. Referenced by print_status(). |
|
||||||||||||||||
|
Definition at line 3658 of file Master.cpp. References ZTime::GetTimeOfDay(), TaskId::id, JobId::id, TaskEntry::id, TaskId::jId, log_on, log_root, mdir_c2m, msg_direction, JobId::name(), ZTime::print_ctime(), and XMLData. Referenced by msgTaskCtrl(), msgTaskFinish(), msgTaskInit(), msgTaskStatus_Crashed(), msgTaskStatus_Ok(), msgTaskStatus_Refused(), msgTaskStatus_Started(), and sndTaskStatus(). |
|
|
Definition at line 3641 of file Master.cpp. References DBUG_PRINT. Referenced by Master(), and msgClientStatus_On(). |
|
||||||||||||
|
Definition at line 3365 of file Master.cpp. References SlaveInfo::cpu(), DBUG_PRINT, CharStr::Error, XMLData::getAttrib(), XMLData::getString(), XMLData::Nil, SlaveInfo::os(), XMLData::reset(), CharStr::str, and XMLData::sub(). Referenced by msgSlaveCtrl_Upgrade(), and msgSlaveStatus_Ready(). |
|
||||||||||||||||
|
Definition at line 3633 of file Master.cpp. References List::Add(), DBUG_PRINT, and List::Remove(). Referenced by msgTaskMove(). |
|
||||||||||||||||
|
Definition at line 2156 of file Master.cpp. References client_off, client_on, client_state, DBUG_PRINT, DONT_QUEUE_MSG, XMLData::getString(), job_refused, msgClientStatus_Off(), msgClientStatus_On(), XMLData::Nil, sndJobStatus(), status_msg, CharStr::str, XMLData::sub(), and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||||||
|
Definition at line 2321 of file Master.cpp. References JobEntry::cl_addr, JobEntry::cl_stat, client_off, DBUG_PRINT, JobEntry::id, job_abandoned, job_refused, log_job_msg(), mdir_c2m, po, PostOffice::purgeIn(), sndJobStatus(), srchJob(), and status_msg. Referenced by msgClientStatus(). |
|
||||||||||||||||||||
|
Definition at line 2190 of file Master.cpp. References JobId::_cs_name(), JobIDTableEntry::_cs_name(), JobEntry::_cs_user(), List::Add(), checkUser(), JobEntry::cl_addr, JobEntry::cl_stat, client_off, client_on, DBUG_PRINT, List::Get_Next(), JobEntry::id, JobIDTableEntry::id, JobId::id, ClientMsgEntry::job, job_refused, job_running, job_stopped, lClientMsg, lJobIDTable, lJobs, log_job_msg(), log_root, make_dir(), mdir_c2m, JobId::name(), JobIDTableEntry::name(), List::Remove(), Address::setPort(), sndJobStatus(), srchJob(), List::Start_Get(), status_msg, and totalJobs. Referenced by msgClientStatus(). |
|
||||||||||||||||
|
Definition at line 1260 of file Master.cpp. References JobEntry::_cs_user(), checkUser(), JobEntry::cl_addr, JobEntry::cl_stat, client_on, DBUG_PRINT, DONT_QUEUE_MSG, get_job_status, Address::getIP(), XMLData::getString(), JobEntry::id, JobId::id, job_ctrl_action, job_refused, log_job_msg(), mdir_c2m, msgJobCtrl_GetStatus(), msgJobCtrl_Stop(), msgJobCtrl_StopAllName(), msgJobCtrl_StopAllUser(), JobId::name(), XMLData::Nil, XMLData::reset(), sndJobStatus(), srchJob(), status_msg, stop_all_jobs_name, stop_all_jobs_user, stop_job, CharStr::str, XMLData::sub(), and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||
|
Definition at line 1456 of file Master.cpp. References XMLData::add(), JobEntry::cl_stat, client_on, List::Get_Next(), JobEntry::id, ReserveEntry::id, ReserveEntry::job, job_abandoned, job_running, lReservs, XMLData::Nil, o2x(), ReserveEntry::parallel, ReserveEntry::slavesRequired, sndJobStatus(), List::Start_Get(), status_msg, and XMLData. Referenced by msgJobCtrl(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 1440 of file Master.cpp. References JobId::_cs_name(), List::Get_Next(), JobEntry::id, lJobs, msgJobCtrl_Stop(), JobId::name(), CharStr::released(), List::Start_Get(), CharStr::stored(), and CharStr::str. Referenced by msgJobCtrl(). |
|
||||||||||||||||
|
Definition at line 1428 of file Master.cpp. References List::Get_Next(), lJobs, msgJobCtrl_Stop(), List::Start_Get(), CharStr::str, and JobEntry::user(). Referenced by msgJobCtrl(). |
|
||||||||||||||||
|
Definition at line 2002 of file Master.cpp. References checkUser(), DBUG_PRINT, XMLData::getString(), log_other_msg(), mdir_c2m, msgSlaveCtrl_Upgrade(), slave_ctrl_action, sndSlaveStatus(), status_msg, upgrade_slave, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||
|
Definition at line 2037 of file Master.cpp. References XMLData::add(), DBUG_PRINT, DEFAULT_MASTER_CONFIG_FILE, CharStr::Error, FILE_UNLINK, List::Get_Next(), XMLData::getString(), SlaveEntry::info, K_PERMANENT_UPGRADE, lSlaves, matchURL(), XMLData::Nil, permanent_upgrade, pu_config, PU_FILENAME, List::Release(), CharStr::released(), sndSlaveStatus(), List::Start_Get(), status_msg, CharStr::stored(), CharStr::str, XMLData::sub(), XMLData::subAll(), toUpgradeLater, upgradeLaterURLs, upgradeLaterVersion, upgradeSlave(), write_keyword(), and XMLData. Referenced by msgSlaveCtrl(). |
|
||||||||||||||||
|
Definition at line 2358 of file Master.cpp. References JobEntry::_cs_user(), List::Add(), checkReserves(), checkUser(), JobEntry::cl_addr, DBUG_PRINT, XMLData::getLong(), ReserveEntry::id, ReserveId::id, JobEntry::id, ReserveEntry::job, job_refused, job_running, log_job_msg(), lReservs, mdir_c2m, XMLData::Nil, ReserveEntry::parallel, XMLData::reset(), ReserveEntry::slave_infos, ReserveEntry::slavesRequired, sndJobStatus(), srchJob(), srchReserve(), status_msg, XMLData::sub(), totalReservations, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||
|
Definition at line 2819 of file Master.cpp. References DBUG_PRINT, Address::getIP(), XMLData::getString(), log_slave_msg(), mdir_s2m, msgSlaveStatus_Busy(), msgSlaveStatus_Disabled(), msgSlaveStatus_Off(), msgSlaveStatus_Ready(), SlaveEntry::prev_stat, XMLData::reset(), SlaveEntry::setInfo(), slave_busy, slave_disabled, slave_off, slave_ready, slave_state, slave_upgrade, sndSlaveCtrl(), srchSlaveAddr(), status_msg, CharStr::str, XMLData::sub(), and x2o(). Referenced by dispatchMsg(). |
|
|
Definition at line 3022 of file Master.cpp. References SlaveInfo::addr, DBUG_PRINT, SlaveEntry::info, ZTime::Now(), slave_busy, slaveSetState(), sndSlaveCtrl(), SlaveEntry::stat(), status_msg, SlaveEntry::task, and SlaveEntry::time_last_status. Referenced by msgSlaveStatus(). |
|
|
Definition at line 3043 of file Master.cpp. References JobEntry::cl_addr, deleteTask(), TaskEntry::id, TaskEntry::job, ZTime::Now(), slave_disabled, slaveSetState(), sndTaskStatus(), SlaveEntry::stat(), TaskEntry::stat, status_msg, SlaveEntry::task, task_buffered_moved, task_launch_moved, task_stopped, and SlaveEntry::time_last_status. Referenced by msgSlaveStatus(). |
|
|
Definition at line 2898 of file Master.cpp. References JobEntry::cl_addr, deleteTask(), TaskEntry::id, TaskEntry::job, sndTaskStatus(), TaskEntry::stat, status_msg, SlaveEntry::task, task_buffered_moved, task_launch_moved, and task_stopped. Referenced by msgSlaveStatus(). |
|
||||||||||||||||||||
|
Definition at line 2923 of file Master.cpp. References List::Add(), SlaveInfo::addr, checkBufferedTasks(), DBUG_PRINT, Address::getIP(), XMLData::getString(), List::Index(), SlaveEntry::info, SlaveEntry::jobReserved, lSlaves, matchURL(), ZTime::Now(), pu_config, List::Remove(), slave_ready, slave_reserved, slave_state, slaveSetState(), SlaveEntry::stat(), status_msg, CharStr::str, XMLData::sub(), SlaveEntry::task, SlaveEntry::time_last_status, toUpgradeLater, update_status, upgradeLaterURLs, upgradeLaterVersion, upgradeSlave(), SlaveInfo::version(), and x2o(). Referenced by msgSlaveStatus(). |
|
||||||||||||||||
|
Definition at line 1859 of file Master.cpp. References JobEntry::_cs_user(), checkUser(), JobEntry::cl_addr, control_task, DBUG_PRINT, DONT_QUEUE_MSG, XMLData::getLong(), XMLData::getString(), JobEntry::id, JobId::id, TaskId::id, TaskId::jId, log_task_msg(), mdir_c2m, msgTaskCtrl_Ctrl(), msgTaskCtrl_Stop(), JobId::name(), sndTaskStatus(), srchJob(), srchTask(), status_msg, stop_task, CharStr::str, XMLData::sub(), task_ctrl_action, task_refused, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||
|
Definition at line 1983 of file Master.cpp. References SlaveInfo::addr, JobEntry::cl_addr, TaskEntry::id, SlaveEntry::info, TaskEntry::job, TaskEntry::slave, sndTaskCtrl(), sndTaskStatus(), TaskEntry::stat, status_msg, task_refused, and task_started. Referenced by msgTaskCtrl(). |
|
|
Definition at line 1947 of file Master.cpp. References JobEntry::cl_addr, DBUG_PRINT, TaskEntry::id, TaskEntry::job, lTasksRun, lTasksWait, List::Remove(), TaskEntry::slave, slave_disabled, slaveSetState(), sndTaskCtrl(), sndTaskStatus(), TaskEntry::stat, status_msg, SlaveEntry::task, task_buffered, task_buffered_moved, task_launch, task_launch_moved, task_started, task_stopped, and JobEntry::tasks. Referenced by consoleInThread(), and msgTaskCtrl(). |
|
||||||||||||
|
Definition at line 2468 of file Master.cpp. References SlaveInfo::addr, JobEntry::cl_addr, DBUG_PRINT, deleteTask(), XMLData::getLong(), SlaveEntry::info, TaskEntry::job, log_slave_msg(), log_task_msg(), mdir_m2c, mdir_s2m, TaskEntry::slave, sndMessageToClient(), srchTask(), TaskEntry::stat, status_msg, XMLData::sub(), SlaveEntry::task, task_started, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||||||
|
Definition at line 1484 of file Master.cpp. References JobEntry::_cs_user(), List::Add(), XMLData::CDATA, checkUser(), JobEntry::cl_addr, List::Count(), DBUG_PRINT, DONT_QUEUE_MSG, Address::getIP(), XMLData::getString(), TaskEntry::id, JobEntry::id, TaskId::id, JobId::id, TaskId::jId, TaskEntry::job, log_root, log_task_msg(), mdir_c2m, msgTaskInit_Normal(), msgTaskInit_Reserve(), JobId::name(), XMLData::Nil, List::Remove(), sndTaskStatus(), srchJob(), srchSlaveAddr(), srchTask(), status_msg, CharStr::str, XMLData::sub(), task_internal_error, task_refused, TaskEntry::taskInfos, JobEntry::tasks, JobEntry::user(), and x2o(). Referenced by dispatchMsg(). |
|
|
Definition at line 1671 of file Master.cpp. References List::Add(), JobEntry::cl_addr, DBUG_PRINT, CharStr::Error, TaskEntry::id, TaskEntry::job, lTasksWait, slave_ready, sndTaskStatus(), srchSlaveTaskInfos(), startTask(), TaskEntry::stat, status_msg, task_buffered, TaskEntry::taskInfos, and totalTasks. Referenced by checkingThread(), and msgTaskInit(). |
|
||||||||||||
|
Definition at line 1631 of file Master.cpp. References TaskInfo::_cs_url(), TaskInfo::_cs_userData(), JobEntry::cl_addr, DBUG_PRINT, CharStr::Error, TaskEntry::id, SlaveEntry::info, TaskEntry::job, SlaveEntry::jobReserved, List::Remove(), slave_reserved, slaveMatchTasks(), sndTaskStatus(), startTask(), SlaveEntry::stat(), status_msg, task_refused, TaskEntry::taskInfos, JobEntry::tasks, TaskInfo::timeout, and totalTasks. Referenced by msgTaskInit(). |
|
||||||||||||
|
Definition at line 2531 of file Master.cpp. References TaskEntry::_cs_data(), SlaveInfo::addr, XMLData::CDATA, checkBufferedTasks(), DBUG_PRINT, XMLData::getLong(), XMLData::getString(), ZTime::GetTimeOfDay(), SlaveEntry::info, log_slave_msg(), lTasksRun, lTasksWait, mdir_s2m, moveTask(), XMLData::Nil, TaskEntry::slave, slave_disabled, slaveSetState(), srchTask(), TaskEntry::stat, status_msg, XMLData::sub(), SlaveEntry::task, task_buffered_moved, task_started, TaskEntry::timeend, TaskEntry::timeout, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||
|
Definition at line 2599 of file Master.cpp. References SlaveInfo::addr, DBUG_PRINT, XMLData::getLong(), XMLData::getString(), SlaveEntry::info, log_slave_msg(), mdir_s2m, msgTaskStatus_Crashed(), msgTaskStatus_Ok(), msgTaskStatus_Refused(), msgTaskStatus_Started(), TaskEntry::slave, srchTask(), status_msg, CharStr::str, XMLData::sub(), task_crashed, task_ok, task_refused, task_started, and x2o(). Referenced by dispatchMsg(). |
|
||||||||||||||||
|
Definition at line 2780 of file Master.cpp. References JobEntry::cl_addr, DBUG_PRINT, deleteTask(), TaskEntry::job, log_task_msg(), mdir_m2c, o2x(), TaskEntry::slave, sndMessageToClient(), TaskEntry::stat, status_msg, CharStr::str, SlaveEntry::task, and task_started. Referenced by msgTaskStatus(). |
|
||||||||||||||||
|
Definition at line 2756 of file Master.cpp. References JobEntry::cl_addr, DBUG_PRINT, TaskEntry::job, log_task_msg(), mdir_m2c, o2x(), sndMessageToClient(), TaskEntry::stat, status_msg, CharStr::str, and task_started. Referenced by msgTaskStatus(). |
|
||||||||||||||||
|
Definition at line 2664 of file Master.cpp. References checkBufferedTasks(), JobEntry::cl_addr, DBUG_PRINT, deleteTask(), TaskEntry::job, log_task_msg(), mdir_m2c, o2x(), TaskEntry::slave, slave_ready, slaveSetState(), sndMessageToClient(), TaskEntry::stat, status_msg, CharStr::str, SlaveEntry::task, task_launch, and task_started. Referenced by msgTaskStatus(). |
|
||||||||||||||||
|
Definition at line 2708 of file Master.cpp. References JobEntry::cl_addr, DBUG_PRINT, TaskEntry::job, log_task_msg(), mdir_m2c, ZTime::Now(), o2x(), XMLData::set(), TaskEntry::slave, slave_busy, slaveSetState(), sndMessageToClient(), TaskEntry::stat, status_msg, CharStr::str, XMLData::sub(), task_launch, task_launch_moved, task_started, TaskEntry::timeend, and TaskEntry::timeout. Referenced by msgTaskStatus(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 3214 of file Master.cpp. References SlaveInfo::addr, SlaveInfo::cpu(), DBUG_PRINT, SlaveInfo::disk, SlaveInfo::disk_unit, Address::getIP(), SlaveInfo::mem, SlaveInfo::mem_unit, SoftwareInfo::name(), SlaveInfo::nSoftInfos, SlaveInfo::os(), SlaveInfo::softwareInfos, and SoftwareInfo::version(). Referenced by slaveMatchSlaves(). |
|
||||||||||||
|
Definition at line 3276 of file Master.cpp. References List::Get_Next(), slaveMatchSlave(), and List::Start_Get(). Referenced by checkReserves(), and srchSlaveSlaveInfos(). |
|
||||||||||||
|
||||||||||||
|
Definition at line 1846 of file Master.cpp. References log_slave_state_change(), SlaveEntry::setState(), and slave_state. Referenced by checkingThread(), checkReserves(), consoleInThread(), msgJobCtrl_Stop(), msgSlaveStatus_Busy(), msgSlaveStatus_Disabled(), msgSlaveStatus_Ready(), msgTaskCtrl_Stop(), msgTaskMove(), msgTaskStatus_Refused(), msgTaskStatus_Started(), and startTask(). |
|
||||||||||||||||||||||||||||||||
|
Definition at line 3448 of file Master.cpp. References XMLData::add(), List::Get_Next(), job_state, log_job_msg(), mdir_m2c, XMLData::Nil, o2x(), sndMessageToClient(), List::Start_Get(), TaskEntry::stat, task_started, JobEntry::tasks, and xmlmsg(). Referenced by msgClientStatus(), msgClientStatus_Off(), msgClientStatus_On(), msgJobCtrl(), msgJobCtrl_GetStatus(), msgJobCtrl_Stop(), and msgSlaveReserve(). |
|
||||||||||||||||||||
|
Definition at line 3388 of file Master.cpp. References List::Add(), ClientMsgEntry::count_sent, Address::getPort(), ZTime::GetTimeOfDay(), ClientMsgEntry::job, ClientMsgEntry::last_sent, lClientMsg, max_send_retry, ClientMsgEntry::mId, ClientMsgEntry::msg, po, PostOffice::sendN(), and sm_sign. Referenced by msgTaskFinish(), msgTaskStatus_Crashed(), msgTaskStatus_Ok(), msgTaskStatus_Refused(), msgTaskStatus_Started(), sndJobStatus(), sndSlaveAvail(), sndSlaveStatus(), sndStatusError(), and sndTaskStatus(). |
|
||||||||||||
|
Definition at line 3532 of file Master.cpp. References log_slave_msg(), mdir_m2s, po, PostOffice::sendN(), and srchSlaveAddr(). Referenced by sndSlaveCtrl(), sndTaskCtrl(), and sndTaskInit(). |
|
||||||||||||||||||||||||
|
Definition at line 3518 of file Master.cpp. References XMLData::add(), JobEntry::id, log_job_msg(), mdir_m2c, o2x(), sndMessageToClient(), XMLData, and xmlmsg(). Referenced by checkReserves(). |
|
||||||||||||||||
|
Definition at line 3591 of file Master.cpp. References XMLData::add(), CharStr::Error, sndMessageToSlave(), XMLData, and xmlmsg(). Referenced by consoleInThread(), msgSlaveStatus(), msgSlaveStatus_Busy(), and upgradeSlave(). |
|
||||||||||||||||
|
Definition at line 3502 of file Master.cpp. References XMLData::add(), CharStr::create(), DONT_QUEUE_MSG, log_other_msg(), mdir_m2c, sndMessageToClient(), XMLData, and xmlmsg(). Referenced by msgSlaveCtrl(), and msgSlaveCtrl_Upgrade(). |
|
||||||||||||||||
|
Definition at line 3427 of file Master.cpp. References XMLData::add(), DONT_QUEUE_MSG, job_refused, log_job_msg(), mdir_m2c, XMLData::Nil, o2x(), sndMessageToClient(), XMLData, and xmlmsg(). Referenced by dispatchMsg(). |
|
||||||||||||||||||||
|
Definition at line 3553 of file Master.cpp. References XMLData::add(), CharStr::Error, XMLData::Nil, sndMessageToSlave(), XMLData, and xmlmsg(). Referenced by checkingThread(), msgJobCtrl_Stop(), msgTaskCtrl_Ctrl(), and msgTaskCtrl_Stop(). |
|
|
|
|
||||||||||||||||||||||||||||
|
Definition at line 3571 of file Master.cpp. References XMLData::add(), XMLData::CDATA, CharStr::Error, o2x(), sndMessageToSlave(), XMLData, and xmlmsg(). Referenced by startTask(). |
|
||||||||||||||||||||||||||||
|
Definition at line 3485 of file Master.cpp. References log_job_msg(), log_task_msg(), mdir_m2c, o2x(), sndMessageToClient(), and srchTask(). Referenced by checkingThread(), msgSlaveStatus_Disabled(), msgSlaveStatus_Off(), msgTaskCtrl(), msgTaskCtrl_Ctrl(), msgTaskCtrl_Stop(), msgTaskInit(), msgTaskInit_Normal(), msgTaskInit_Reserve(), and startTask(). |
|
|
Definition at line 3090 of file Master.cpp. References srchJob(), XMLData::sub(), and x2o(). |
|
|
Definition at line 3076 of file Master.cpp. References List::Get_Next(), JobEntry::id, lJobs, and List::Start_Get(). Referenced by consoleInThread(), msgClientStatus_Off(), msgClientStatus_On(), msgJobCtrl(), msgSlaveReserve(), msgTaskCtrl(), msgTaskInit(), and srchJob(). |
|
|
Definition at line 3128 of file Master.cpp. References List::Get_Next(), ReserveEntry::id, lReservs, and List::Start_Get(). Referenced by msgSlaveReserve(). |
|
|
Definition at line 3289 of file Master.cpp. References SlaveInfo::addr, List::Get_Next(), Address::getIP(), SlaveEntry::info, lSlaves, and List::Start_Get(). Referenced by consoleInThread(), msgSlaveStatus(), msgTaskInit(), and sndMessageToSlave(). |
|
||||||||||||
|
Definition at line 3344 of file Master.cpp. References List::Get_Next(), SlaveEntry::info, lSlaves, SlaveStatistics::rank, slave_state, slaveMatchSlaves(), List::Start_Get(), SlaveEntry::stat(), and SlaveEntry::statistics. Referenced by checkReserves(). |
|
||||||||||||||||||||||||
|
Definition at line 3311 of file Master.cpp. References TaskInfo::_cs_url(), TaskInfo::_cs_userData(), List::Get_Next(), SlaveEntry::info, lSlaves, SlaveStatistics::rank, slave_state, slaveMatchTasks(), List::Start_Get(), SlaveEntry::stat(), SlaveEntry::statistics, and TaskInfo::timeout. Referenced by checkBufferedTasks(), and msgTaskInit_Normal(). |
|
|
Definition at line 3105 of file Master.cpp. References List::Get_Next(), TaskEntry::id, lTasksRun, lTasksWait, and List::Start_Get(). Referenced by consoleInThread(), msgTaskCtrl(), msgTaskFinish(), msgTaskInit(), msgTaskMove(), msgTaskStatus(), and sndTaskStatus(). |
|
|
Definition at line 405 of file Master.cpp. References DBUG_PRINT, dispatchMsg(), master_entry(), monitor, XMLData::Nil, po, Semaphore::post(), PostOffice::receive_any(), PostOffice::ReceiveInterrupted, shutdown, startThread(), and THRD_HANDLE. Referenced by main(). |
|
||||||||||||||||||||||||
|
Definition at line 1697 of file Master.cpp. References TaskEntry::_cs_data(), List::Add(), SlaveInfo::addr, JobEntry::cl_addr, TaskEntry::id, SlaveEntry::info, TaskEntry::job, lTasksRun, ZTime::Now(), TaskEntry::slave, slave_contacted, slaveSetState(), sndTaskInit(), sndTaskStatus(), TaskEntry::stat, status_msg, SlaveEntry::task, task_buffered, task_buffered_moved, task_launch, task_launch_moved, task_launch_timeout, TaskEntry::timeend, and TaskEntry::timeout. Referenced by checkBufferedTasks(), msgTaskInit_Normal(), and msgTaskInit_Reserve(). |
|
||||||||||||||||||||
|
Definition at line 2120 of file Master.cpp. References List::Add(), SlaveInfo::addr, DBUG_PRINT, CharStr::Error, Address::getIP(), SlaveEntry::info, slave_busy, slave_contacted, slave_reserved, sndSlaveCtrl(), SlaveEntry::stat(), CharStr::str, toUpgradeLater, and SlaveInfo::version(). Referenced by msgSlaveCtrl_Upgrade(), and msgSlaveStatus_Ready(). |
|
||||||||||||||||
|
Definition at line 3804 of file Master.cpp. References qpzuserdb::comparepass(), CharStr::str, and userdb. Referenced by dispatchMsg(). |
|
|
Definition at line 857 of file Master.cpp. References DBUG_PRINT, print_status(), and status_file. Referenced by checkingThread(). |
|
|
Definition at line 366 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 389 of file Master.h. Referenced by consoleOutThread(), Master(), and ~Master(). |
|
|
Definition at line 399 of file Master.h. Referenced by initialized(), and Master(). |
|
|
Definition at line 391 of file Master.h. Referenced by consoleInThread(), consoleOutThread(), and Master(). |
|
|
Definition at line 395 of file Master.h. Referenced by print_status(). |
|
|
Definition at line 343 of file Master.h. Referenced by checkingThread(), msgClientStatus_On(), msgJobCtrl_Stop(), print_status(), and sndMessageToClient(). |
|
|
Definition at line 344 of file Master.h. Referenced by msgClientStatus_On(). |
|
|
Definition at line 338 of file Master.h. Referenced by msgClientStatus_On(), msgJobCtrl_Stop(), msgJobCtrl_StopAllName(), msgJobCtrl_StopAllUser(), print_status(), and srchJob(). |
|
|
Definition at line 348 of file Master.h. Referenced by checkingThread(), consoleInThread(), consoleOutThread(), and dispatchMsg(). |
|
|
Definition at line 371 of file Master.h. Referenced by log_job_msg(), log_other_msg(), log_slave_msg(), log_slave_state_change(), log_slave_total(), log_task_msg(), and Master(). |
|
|
Definition at line 370 of file Master.h. Referenced by log_job_msg(), log_other_msg(), log_slave_msg(), log_slave_state_change(), log_slave_total(), log_task_msg(), Master(), msgClientStatus_On(), and msgTaskInit(). |
|
|
Definition at line 342 of file Master.h. Referenced by checkReserves(), msgJobCtrl_GetStatus(), msgJobCtrl_Stop(), msgSlaveReserve(), print_status(), and srchReserve(). |
|
|
Definition at line 337 of file Master.h. Referenced by checkingThread(), checkReserves(), msgJobCtrl_Stop(), msgSlaveCtrl_Upgrade(), msgSlaveStatus_Ready(), print_status(), srchSlaveAddr(), srchSlaveSlaveInfos(), and srchSlaveTaskInfos(). |
|
|
Definition at line 339 of file Master.h. Referenced by checkingThread(), deleteTask(), msgJobCtrl_Stop(), msgTaskCtrl_Stop(), msgTaskMove(), print_status(), srchTask(), and startTask(). |
|
|
Definition at line 340 of file Master.h. Referenced by checkBufferedTasks(), deleteTask(), msgJobCtrl_Stop(), msgTaskCtrl_Stop(), msgTaskInit_Normal(), msgTaskMove(), print_status(), and srchTask(). |
|
|
Definition at line 393 of file Master.h. Referenced by Master(), print_status(), and ~Master(). |
|
|
Definition at line 374 of file Master.h. Referenced by Master(). |
|
|
Definition at line 351 of file Master.h. Referenced by consoleInThread(), Master(), and ~Master(). |
|
|
Definition at line 362 of file Master.h. Referenced by Master(), and sndMessageToClient(). |
|
|
Definition at line 376 of file Master.h. Referenced by Master(), and print_status(). |
|
|
Definition at line 350 of file Master.h. Referenced by checkingThread(), consoleInThread(), consoleOutThread(), Master(), startMaster(), and ~Master(). |
|
|
Definition at line 358 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 397 of file Master.h. Referenced by Master(). |
|
|
Definition at line 378 of file Master.h. Referenced by Master(), and msgSlaveCtrl_Upgrade(). |
|
|
Definition at line 346 of file Master.h. Referenced by checkingThread(), consoleInThread(), Master(), msgClientStatus_Off(), msgJobCtrl_Stop(), sndMessageToClient(), sndMessageToSlave(), startMaster(), and ~Master(). |
|
|
Definition at line 390 of file Master.h. Referenced by consoleInThread(), Master(), and print_status(). |
|
|
Definition at line 379 of file Master.h. Referenced by Master(), msgSlaveCtrl_Upgrade(), msgSlaveStatus_Ready(), and ~Master(). |
|
|
Definition at line 401 of file Master.h. Referenced by log_slave_state_change(), log_slave_total(), Master(), and print_status(). |
|
|
Definition at line 402 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 355 of file Master.h. Referenced by consoleInThread(), Master(), and startMaster(). |
|
|
Definition at line 368 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 364 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 375 of file Master.h. Referenced by Master(), write_status(), and ~Master(). |
|
|
|
Definition at line 361 of file Master.h. Referenced by Master(), and startTask(). |
|
|
Definition at line 353 of file Master.h. Referenced by checkingThread(), consoleInThread(), consoleOutThread(), and Master(). |
|
|
Definition at line 405 of file Master.h. Referenced by Master(), msgClientStatus_On(), and print_status(). |
|
|
Definition at line 405 of file Master.h. Referenced by Master(), msgSlaveReserve(), and print_status(). |
|
|
Definition at line 405 of file Master.h. Referenced by Master(), msgTaskInit_Normal(), msgTaskInit_Reserve(), and print_status(). |
|
|
Definition at line 380 of file Master.h. Referenced by msgSlaveCtrl_Upgrade(), msgSlaveStatus_Ready(), upgradeSlave(), and ~Master(). |
|
|
Definition at line 396 of file Master.h. Referenced by msgSlaveStatus_Ready(), and print_status(). |
|
|
Definition at line 382 of file Master.h. Referenced by Master(), msgSlaveCtrl_Upgrade(), msgSlaveStatus_Ready(), and ~Master(). |
|
|
Definition at line 383 of file Master.h. Referenced by Master(), msgSlaveCtrl_Upgrade(), msgSlaveStatus_Ready(), and ~Master(). |
|
|
Definition at line 357 of file Master.h. Referenced by checkingThread(), Master(), verifyUserPswd(), and ~Master(). |
|
|
Definition at line 372 of file Master.h. Referenced by checkingThread(), and Master(). |
|
|
Definition at line 373 of file Master.h. Referenced by checkingThread(), and Master(). |
1.2.18