#include <XrdCmsClientMan.hh>
Public Member Functions | |
| XrdCmsClientMan (char *host, int port, int cw, int nr, int rw, int rd) | |
| ~XrdCmsClientMan () | |
| int | delayResp (XrdOucErrInfo &Resp) |
| int | isActive () |
| int | manPort () |
| char * | Name () |
| XrdCmsClientMan * | nextManager () |
| char * | NPfx () |
| int | Send (unsigned int &iMan, char *msg, int mlen=0) |
| int | Send (unsigned int &iMan, const struct iovec *iov, int iovcnt, int iotot=0) |
| void | setNext (XrdCmsClientMan *np) |
| void * | Start () |
| int | Suspended () |
| int | waitTime () |
| int | whatsUp (const char *user, const char *path, unsigned int iMan) |
Static Public Member Functions | |
| static void | setConfig (const char *cfn) |
| static void | setNetwork (XrdInet *nP) |
Static Public Attributes | |
| static char | doDebug = 0 |
Definition at line 47 of file XrdCmsClientMan.hh.
| XrdCmsClientMan::XrdCmsClientMan | ( | char * | host, |
| int | port, | ||
| int | cw, | ||
| int | nr, | ||
| int | rw, | ||
| int | rd ) |
Definition at line 66 of file XrdCmsClientMan.cc.
References XrdSysMutex::Lock(), XrdOucEI::Max_Error_Len, and XrdSysMutex::UnLock().
Referenced by nextManager(), and setNext().
| XrdCmsClientMan::~XrdCmsClientMan | ( | ) |
Definition at line 112 of file XrdCmsClientMan.cc.
| int XrdCmsClientMan::delayResp | ( | XrdOucErrInfo & | Resp | ) |
Definition at line 124 of file XrdCmsClientMan.cc.
References XrdCmsResp::Alloc(), XrdOucErrInfo::getErrInfo(), XrdOucErrInfo::getErrUser(), XrdCms::Say, XrdOucErrInfo::setErrInfo(), SFS_ERROR, SFS_STALL, and SFS_STARTED.
|
inline |
Definition at line 55 of file XrdCmsClientMan.hh.
References AtomicRet.
|
inline |
Definition at line 62 of file XrdCmsClientMan.hh.
|
inline |
Definition at line 59 of file XrdCmsClientMan.hh.
Referenced by XrdCmsFinderRMT::Prepare().
|
inline |
Definition at line 57 of file XrdCmsClientMan.hh.
References XrdCmsClientMan().
Referenced by XrdCmsFinderRMT::~XrdCmsFinderRMT().
|
inline |
Definition at line 60 of file XrdCmsClientMan.hh.
| int XrdCmsClientMan::Send | ( | unsigned int & | iMan, |
| char * | msg, | ||
| int | mlen = 0 ) |
Definition at line 167 of file XrdCmsClientMan.cc.
Referenced by XrdCmsFinderRMT::Forward(), and XrdCmsFinderRMT::Prepare().
| int XrdCmsClientMan::Send | ( | unsigned int & | iMan, |
| const struct iovec * | iov, | ||
| int | iovcnt, | ||
| int | iotot = 0 ) |
Definition at line 197 of file XrdCmsClientMan.cc.
|
inlinestatic |
Definition at line 81 of file XrdCmsClientMan.hh.
Referenced by XrdCmsFinderRMT::Configure().
|
inlinestatic |
Definition at line 79 of file XrdCmsClientMan.hh.
Referenced by XrdCmsFinderRMT::Configure().
|
inline |
Definition at line 77 of file XrdCmsClientMan.hh.
References XrdCmsClientMan().
| void * XrdCmsClientMan::Start | ( | ) |
Definition at line 225 of file XrdCmsClientMan.cc.
References XrdCms::CmsResponse::kYR_async, XrdCms::kYR_status, XrdCms::kYR_waitresp, XrdCmsClientMsg::Reply(), XrdCms::Say, and XrdSysTimer::Snooze().
Referenced by XrdCmsStartManager().
|
inline |
Definition at line 70 of file XrdCmsClientMan.hh.
|
inline |
Definition at line 86 of file XrdCmsClientMan.hh.
References AtomicRet.
| int XrdCmsClientMan::whatsUp | ( | const char * | user, |
| const char * | path, | ||
| unsigned int | iMan ) |
Definition at line 267 of file XrdCmsClientMan.cc.
References EPNAME, XrdCmsClientMsg::inQ(), and TRACE.
|
static |
Definition at line 51 of file XrdCmsClientMan.hh.
Referenced by XrdCmsFinderRMT::Forward(), XrdCmsFinderRMT::Locate(), XrdCmsFinderRMT::Prepare(), and XrdCmsFinderRMT::Space().