xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdCnsLogClient Class Reference

#include <XrdCnsLogClient.hh>

Collaboration diagram for XrdCnsLogClient:
Collaboration graph
[legend]

Public Member Functions

int Activate (XrdCnsLogFile *basefile)
 
int Init ()
 
int Run (int Always=1)
 
int Start ()
 
 XrdCnsLogClient (XrdOucTList *rP, XrdCnsLogClient *pcP)
 
 ~XrdCnsLogClient ()
 

Private Member Functions

XrdClientAdminadmConnect (XrdClientAdmin *adminP)
 
int Archive (XrdCnsLogFile *lfP)
 
int do_Create (XrdCnsLogRec *lrP, const char *lfn=0)
 
int do_Mkdir (XrdCnsLogRec *lrP)
 
int do_Mv (XrdCnsLogRec *lrP)
 
int do_Rm (XrdCnsLogRec *lrP)
 
int do_Rmdir (XrdCnsLogRec *lrP)
 
int do_Trunc (XrdCnsLogRec *lrP, const char *lfn=0)
 
char getMount (char *Lfn, char *Pfn, XrdCnsXref &Mount)
 
int Inventory (XrdCnsLogFile *lfp, const char *dPath)
 
int Manifest ()
 
int mapError (int rc)
 
int xrdEmsg (const char *Opname, const char *theFN, XrdClientAdmin *aP)
 
int xrdEmsg (const char *Opname, const char *theFN)
 
int xrdEmsg (const char *Opname, const char *theFN, XrdClient *fP)
 

Private Attributes

XrdSysMutex lfMutex
 
XrdSysSemaphore lfSem
 
XrdCnsLogClientNext
 
XrdClientAdminAdmin
 
XrdCnsLogFilelogFirst
 
XrdCnsLogFilelogLast
 
int pfxNF
 
int sfxFN
 
int arkOnly
 
char * admURL
 
char * urlHost
 
char arkURL [MAXPATHLEN+512]
 
char * arkPath
 
char * arkFN
 
char crtURL [MAXPATHLEN+512]
 
char * crtFN
 
char logDir [MAXPATHLEN+1]
 
char * logFN
 

Constructor & Destructor Documentation

XrdCnsLogClient::XrdCnsLogClient ( XrdOucTList rP,
XrdCnsLogClient pcP 
)
XrdCnsLogClient::~XrdCnsLogClient ( )
inline

Member Function Documentation

int XrdCnsLogClient::Activate ( XrdCnsLogFile basefile)
XrdClientAdmin* XrdCnsLogClient::admConnect ( XrdClientAdmin adminP)
private
int XrdCnsLogClient::Archive ( XrdCnsLogFile lfP)
private
int XrdCnsLogClient::do_Create ( XrdCnsLogRec lrP,
const char *  lfn = 0 
)
private
int XrdCnsLogClient::do_Mkdir ( XrdCnsLogRec lrP)
private
int XrdCnsLogClient::do_Mv ( XrdCnsLogRec lrP)
private
int XrdCnsLogClient::do_Rm ( XrdCnsLogRec lrP)
private
int XrdCnsLogClient::do_Rmdir ( XrdCnsLogRec lrP)
private
int XrdCnsLogClient::do_Trunc ( XrdCnsLogRec lrP,
const char *  lfn = 0 
)
private
char XrdCnsLogClient::getMount ( char *  Lfn,
char *  Pfn,
XrdCnsXref Mount 
)
private
int XrdCnsLogClient::Init ( )
int XrdCnsLogClient::Inventory ( XrdCnsLogFile lfp,
const char *  dPath 
)
private
int XrdCnsLogClient::Manifest ( )
private
int XrdCnsLogClient::mapError ( int  rc)
private
int XrdCnsLogClient::Run ( int  Always = 1)
int XrdCnsLogClient::Start ( )
int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN,
XrdClientAdmin aP 
)
private
int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN 
)
private
int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN,
XrdClient fP 
)
private

Member Data Documentation

XrdClientAdmin* XrdCnsLogClient::Admin
private
char* XrdCnsLogClient::admURL
private
char* XrdCnsLogClient::arkFN
private
int XrdCnsLogClient::arkOnly
private
char* XrdCnsLogClient::arkPath
private
char XrdCnsLogClient::arkURL[MAXPATHLEN+512]
private
char* XrdCnsLogClient::crtFN
private
char XrdCnsLogClient::crtURL[MAXPATHLEN+512]
private
XrdSysMutex XrdCnsLogClient::lfMutex
private
XrdSysSemaphore XrdCnsLogClient::lfSem
private
char XrdCnsLogClient::logDir[MAXPATHLEN+1]
private
XrdCnsLogFile* XrdCnsLogClient::logFirst
private
char* XrdCnsLogClient::logFN
private
XrdCnsLogFile* XrdCnsLogClient::logLast
private
XrdCnsLogClient* XrdCnsLogClient::Next
private
int XrdCnsLogClient::pfxNF
private
int XrdCnsLogClient::sfxFN
private
char* XrdCnsLogClient::urlHost
private

The documentation for this class was generated from the following file: