XrdCmsFinderTRG Class Reference

#include <XrdCmsFinder.hh>

Inheritance diagram for XrdCmsFinderTRG:

XrdCmsClient List of all members.

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

XrdOssSS
XrdOucStreamCMSp
XrdSysMutex myData
int myPort
char * CMSPath
char * Login
int isRedir
int isProxy
int Active

Detailed Description

Definition at line 91 of file XrdCmsFinder.hh.


Constructor & Destructor Documentation

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

Definition at line 699 of file XrdCmsFinder.cc.

References CMSp, free(), and Login.


Member Function Documentation

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]

Implements XrdCmsClient.

Definition at line 98 of file XrdCmsFinder.hh.

int XrdCmsFinderTRG::Locate ( XrdOucErrInfo Resp,
const char *  path,
int  flags,
XrdOucEnv Info = 0 
) [inline, virtual]

Implements XrdCmsClient.

Definition at line 102 of file XrdCmsFinder.hh.

int XrdCmsFinderTRG::Prepare ( XrdOucErrInfo Resp,
XrdSfsPrep pargs 
) [inline, virtual]

Implements XrdCmsClient.

Definition at line 105 of file XrdCmsFinder.hh.

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]

Implements XrdCmsClient.

Definition at line 111 of file XrdCmsFinder.hh.

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


Member Data Documentation

XrdOss* XrdCmsFinderTRG::SS [private]

Definition at line 123 of file XrdCmsFinder.hh.

Referenced by Process(), and XrdCmsFinderTRG().

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]

Definition at line 125 of file XrdCmsFinder.hh.

Referenced by Added(), Hookup(), Removed(), and Start().

int XrdCmsFinderTRG::myPort [private]

Definition at line 126 of file XrdCmsFinder.hh.

Referenced by XrdCmsFinderTRG().

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]

Definition at line 129 of file XrdCmsFinder.hh.

Referenced by Configure(), and XrdCmsFinderTRG().

int XrdCmsFinderTRG::isProxy [private]

Definition at line 130 of file XrdCmsFinder.hh.

Referenced by XrdCmsFinderTRG().

int XrdCmsFinderTRG::Active [private]

Definition at line 131 of file XrdCmsFinder.hh.

Referenced by Added(), Hookup(), Removed(), Start(), and XrdCmsFinderTRG().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1