#include <XrdCmsFinder.hh>
Inheritance diagram for XrdCmsFinderTRG:

Public Member Functions | |
| void | Added (const char *path, int Pend=0) |
| int | Configure (char *cfn) |
| int | Forward (XrdOucErrInfo &Resp, const char *cmd, const char *arg1=0, const char *arg2=0, const char *arg3=0, const char *arg4=0) |
| int | Locate (XrdOucErrInfo &Resp, const char *path, int flags, XrdOucEnv *Info=0) |
| int | Prepare (XrdOucErrInfo &Resp, XrdSfsPrep &pargs) |
| void | Removed (const char *path) |
| int | RunAdmin (char *Path) |
| int | Space (XrdOucErrInfo &Resp, const char *path) |
| void * | Start () |
| XrdCmsFinderTRG (XrdSysLogger *, int, int, XrdOss *theSS=0) | |
| ~XrdCmsFinderTRG () | |
Private Member Functions | |
| void | Hookup () |
| int | Process (XrdCmsRRData &Data) |
Private Attributes | |
| XrdOss * | SS |
| XrdOucStream * | CMSp |
| XrdSysMutex | myData |
| int | myPort |
| char * | CMSPath |
| char * | Login |
| int | isRedir |
| int | isProxy |
| int | Active |
Definition at line 91 of file XrdCmsFinder.hh.
| XrdCmsFinderTRG::XrdCmsFinderTRG | ( | XrdSysLogger * | , | |
| int | , | |||
| int | , | |||
| XrdOss * | theSS = 0 | |||
| ) |
Definition at line 677 of file XrdCmsFinder.cc.
References Active, CMSp, CMSPath, isProxy, XrdCms::IsProxy, XrdCms::IsRedir, isRedir, XrdSysError::logger(), Login, myPort, XrdFrm::Say(), sprintf(), and SS.
| XrdCmsFinderTRG::~XrdCmsFinderTRG | ( | ) |
| void XrdCmsFinderTRG::Added | ( | const char * | path, | |
| int | Pend = 0 | |||
| ) | [virtual] |
Implements XrdCmsClient.
Definition at line 709 of file XrdCmsFinder.cc.
References Active, XrdOucStream::Close(), CMSp, data, XrdSysMutex::Lock(), myData, XrdOucStream::Put(), and XrdSysMutex::UnLock().
| int XrdCmsFinderTRG::Configure | ( | char * | cfn | ) | [virtual] |
Implements XrdCmsClient.
Definition at line 741 of file XrdCmsFinder.cc.
References XrdCmsClientConfig::configNorm, XrdCmsClientConfig::configServer, XrdCmsClientConfig::configSuper, isRedir, RunAdmin(), and RooFit::What().
| int XrdCmsFinderTRG::Forward | ( | XrdOucErrInfo & | Resp, | |
| const char * | cmd, | |||
| const char * | arg1 = 0, |
|||
| const char * | arg2 = 0, |
|||
| const char * | arg3 = 0, |
|||
| const char * | arg4 = 0 | |||
| ) | [inline, virtual] |
| int XrdCmsFinderTRG::Locate | ( | XrdOucErrInfo & | Resp, | |
| const char * | path, | |||
| int | flags, | |||
| XrdOucEnv * | Info = 0 | |||
| ) | [inline, virtual] |
| int XrdCmsFinderTRG::Prepare | ( | XrdOucErrInfo & | Resp, | |
| XrdSfsPrep & | pargs | |||
| ) | [inline, virtual] |
| void XrdCmsFinderTRG::Removed | ( | const char * | path | ) | [virtual] |
Implements XrdCmsClient.
Definition at line 762 of file XrdCmsFinder.cc.
References Active, XrdOucStream::Close(), CMSp, data, XrdSysMutex::Lock(), myData, XrdOucStream::Put(), and XrdSysMutex::UnLock().
| int XrdCmsFinderTRG::RunAdmin | ( | char * | Path | ) |
Definition at line 786 of file XrdCmsFinder.cc.
References CMSPath, XrdSysError::Emsg(), XrdSysThread::Run(), XrdFrm::Say(), and XrdCmsStartRsp().
Referenced by XrdCmsFinderRMT::Configure(), and Configure().
| int XrdCmsFinderTRG::Space | ( | XrdOucErrInfo & | Resp, | |
| const char * | path | |||
| ) | [inline, virtual] |
| void * XrdCmsFinderTRG::Start | ( | ) |
Definition at line 807 of file XrdCmsFinder.cc.
References Active, XrdOucStream::Close(), CMSp, CMSPath, XrdSysError::Emsg(), XrdOucStream::FDNum(), Hookup(), XrdSysMutex::Lock(), Login, myData, Process(), XrdOucStream::Put(), XrdFrm::Say(), XrdSysMutex::UnLock(), and XrdSysTimer::Wait().
Referenced by XrdCmsStartRsp().
| void XrdCmsFinderTRG::Hookup | ( | ) | [private] |
Definition at line 859 of file XrdCmsFinder.cc.
References Active, XrdOucStream::Attach(), CMSp, CMSPath, XrdSysError::Emsg(), XrdSysMutex::Lock(), myData, opts, XrdFrm::Say(), stat, XrdSysMutex::UnLock(), XrdSysTimer::Wait(), and XRDNET_NOEMSG.
Referenced by Start().
| int XrdCmsFinderTRG::Process | ( | XrdCmsRRData & | Data | ) | [private] |
Definition at line 900 of file XrdCmsFinder.cc.
References DEBUG, XrdSysError::Emsg(), EPNAME, XrdCms::kYR_mv, XrdCms::kYR_rm, XrdCms::kYR_rmdir, XrdCmsParser::Parse(), XrdCms::Parser, XrdOss::Remdir(), XrdOss::Rename(), XrdFrm::Say(), sprintf(), SS, and XrdOss::Unlink().
Referenced by Start().
XrdOss* XrdCmsFinderTRG::SS [private] |
XrdOucStream* XrdCmsFinderTRG::CMSp [private] |
Definition at line 124 of file XrdCmsFinder.hh.
Referenced by Added(), Hookup(), Removed(), Start(), XrdCmsFinderTRG(), and ~XrdCmsFinderTRG().
XrdSysMutex XrdCmsFinderTRG::myData [private] |
int XrdCmsFinderTRG::myPort [private] |
char* XrdCmsFinderTRG::CMSPath [private] |
Definition at line 127 of file XrdCmsFinder.hh.
Referenced by Hookup(), RunAdmin(), Start(), and XrdCmsFinderTRG().
char* XrdCmsFinderTRG::Login [private] |
Definition at line 128 of file XrdCmsFinder.hh.
Referenced by Start(), XrdCmsFinderTRG(), and ~XrdCmsFinderTRG().
int XrdCmsFinderTRG::isRedir [private] |
int XrdCmsFinderTRG::isProxy [private] |
int XrdCmsFinderTRG::Active [private] |
Definition at line 131 of file XrdCmsFinder.hh.
Referenced by Added(), Hookup(), Removed(), Start(), and XrdCmsFinderTRG().
1.5.1