Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SlaveEntry Class Reference

#include <Master.h>

Inheritance diagram for SlaveEntry:

Object List of all members.

Public Methods

 SlaveEntry ()
 ~SlaveEntry ()
slave_state setState (slave_state newState)
void setInfo (SlaveInfo *info)
int setInfo (XMLData *xinfo, Address *remote)
slave_state stat ()
virtual int compare (Object *)
virtual ObjectCopy ()

Public Attributes

slave_state prev_stat
SlaveInfoinfo
TaskEntrytask
SlaveStatistics statistics
ZTime time_last_status
ZTime time_reserved
JobEntryjobReserved

Private Attributes

slave_state state

Constructor & Destructor Documentation

SlaveEntry::SlaveEntry   [inline]
 

Definition at line 211 of file Master.h.

References prev_stat, slave_internal_error, slave_off, and state.

SlaveEntry::~SlaveEntry   [inline]
 

Definition at line 218 of file Master.h.

References SlaveInfo::addr, DBUG_PRINT, and Address::getIP().


Member Function Documentation

virtual int Object::compare Object   [inline, virtual, inherited]
 

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 31 of file Object.h.

virtual Object* Object::Copy   [inline, virtual, inherited]
 

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=().

int SlaveEntry::setInfo XMLData   xinfo,
Address   remote
[inline]
 

Definition at line 242 of file Master.h.

References SlaveInfo::addr, Address::getIP(), setInfo(), and x2o().

void SlaveEntry::setInfo SlaveInfo   info [inline]
 

Definition at line 235 of file Master.h.

Referenced by Master::msgSlaveStatus(), and setInfo().

slave_state SlaveEntry::setState slave_state    newState [inline]
 

Definition at line 227 of file Master.h.

References slave_state, state, and SlaveStatistics::stateChange().

Referenced by Master::slaveSetState().

slave_state SlaveEntry::stat   [inline]
 

Definition at line 267 of file Master.h.

References slave_state, and state.

Referenced by Master::checkingThread(), Master::checkReserves(), Master::consoleInThread(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Busy(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Ready(), Master::msgTaskInit_Reserve(), Master::print_status(), Master::srchSlaveSlaveInfos(), Master::srchSlaveTaskInfos(), and Master::upgradeSlave().


Member Data Documentation

SlaveInfo* SlaveEntry::info
 

Definition at line 204 of file Master.h.

Referenced by Master::checkingThread(), Master::checkReserves(), Master::consoleInThread(), Master::log_slave_msg(), Master::log_slave_state_change(), Master::msgJobCtrl_Stop(), Master::msgSlaveCtrl_Upgrade(), Master::msgSlaveStatus_Busy(), Master::msgSlaveStatus_Ready(), Master::msgTaskCtrl_Ctrl(), Master::msgTaskFinish(), Master::msgTaskInit_Reserve(), Master::msgTaskMove(), Master::msgTaskStatus(), Master::print_status(), Master::srchSlaveAddr(), Master::srchSlaveSlaveInfos(), Master::srchSlaveTaskInfos(), Master::startTask(), and Master::upgradeSlave().

JobEntry* SlaveEntry::jobReserved
 

Definition at line 209 of file Master.h.

Referenced by Master::checkReserves(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Ready(), and Master::msgTaskInit_Reserve().

slave_state SlaveEntry::prev_stat
 

Definition at line 203 of file Master.h.

Referenced by Master::msgSlaveStatus(), and SlaveEntry().

slave_state SlaveEntry::state [private]
 

Definition at line 201 of file Master.h.

Referenced by setState(), SlaveEntry(), and stat().

SlaveStatistics SlaveEntry::statistics
 

Definition at line 206 of file Master.h.

Referenced by Master::checkingThread(), Master::print_status(), Master::srchSlaveSlaveInfos(), and Master::srchSlaveTaskInfos().

TaskEntry* SlaveEntry::task
 

Definition at line 205 of file Master.h.

Referenced by Master::checkingThread(), Master::consoleInThread(), Master::deleteTask(), Master::msgJobCtrl_Stop(), Master::msgSlaveStatus_Busy(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Off(), Master::msgSlaveStatus_Ready(), Master::msgTaskCtrl_Stop(), Master::msgTaskFinish(), Master::msgTaskMove(), Master::msgTaskStatus_Crashed(), Master::msgTaskStatus_Refused(), Master::print_status(), and Master::startTask().

ZTime SlaveEntry::time_last_status
 

Definition at line 207 of file Master.h.

Referenced by Master::checkingThread(), Master::msgSlaveStatus_Busy(), Master::msgSlaveStatus_Disabled(), Master::msgSlaveStatus_Ready(), and Master::print_status().

ZTime SlaveEntry::time_reserved
 

Definition at line 208 of file Master.h.

Referenced by Master::checkingThread(), and Master::checkReserves().


The documentation for this class was generated from the following file:
Generated on Mon Nov 25 12:46:40 2002 for qadpz by doxygen1.2.18