#include <XrdCmsJob.hh>
Inheritance diagram for XrdCmsJob:
Public Member Functions | |
void | DoIt () |
void | Recycle () |
XrdCmsJob () | |
~XrdCmsJob () | |
Static Public Member Functions | |
static XrdCmsJob * | Alloc (XrdCmsProtocol *, XrdCmsRRData *) |
Private Attributes | |
XrdCmsJob * | JobLink |
XrdCmsProtocol * | theProto |
XrdCmsRRData * | theData |
Static Private Attributes | |
static XrdSysMutex | JobMutex |
static XrdCmsJob * | JobStack |
Definition at line 24 of file XrdCmsJob.hh.
XrdCmsJob::XrdCmsJob | ( | ) | [inline] |
XrdCmsJob::~XrdCmsJob | ( | ) | [inline] |
Definition at line 35 of file XrdCmsJob.hh.
XrdCmsJob * XrdCmsJob::Alloc | ( | XrdCmsProtocol * | , | |
XrdCmsRRData * | ||||
) | [static] |
Definition at line 48 of file XrdCmsJob.cc.
References XrdJob::Comment, XrdSysError::Emsg(), JobLink, JobMutex, JobStack, XrdCmsProtocol::Link, XrdSysMutex::Lock(), XrdCmsProtocol::myRole, XrdLink::Name(), XrdFrm::Say(), XrdLink::setRef(), theData, theProto, XrdSysMutex::UnLock(), and XrdCmsJob().
Referenced by XrdCmsProtocol::Dispatch().
void XrdCmsJob::DoIt | ( | ) | [virtual] |
Implements XrdJob.
Definition at line 77 of file XrdCmsJob.cc.
References EINPROGRESS, XrdCmsProtocol::Execute(), Recycle(), XrdCms::Sched, XrdScheduler::Schedule(), theData, theProto, and XrdCmsRRData::waitVal.
void XrdCmsJob::Recycle | ( | ) |
Definition at line 94 of file XrdCmsJob.cc.
References JobLink, JobMutex, JobStack, XrdCmsProtocol::Link, XrdSysMutex::Lock(), XrdCmsRRData::Objectify(), XrdLink::setRef(), theData, theProto, and XrdSysMutex::UnLock().
Referenced by DoIt().
XrdSysMutex XrdCmsJob::JobMutex [static, private] |
XrdCmsJob * XrdCmsJob::JobStack [static, private] |
XrdCmsJob* XrdCmsJob::JobLink [private] |
XrdCmsProtocol* XrdCmsJob::theProto [private] |
XrdCmsRRData* XrdCmsJob::theData [private] |