xrootd
Public Member Functions | Private Member Functions | Private Attributes

XrdCnsLogClient Class Reference

#include <XrdCnsLogClient.hh>

Collaboration diagram for XrdCnsLogClient:
Collaboration graph
[legend]

List of all members.

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]

References Admin, XrdCnsLogRec::Lfn1(), XrdClientAdmin::Rm(), and xrdEmsg().

Referenced by Run().

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]

Referenced by Manifest().

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,
XrdClient fP 
) [private]
int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN 
) [private]

References Admin, and xrdEmsg().


Member Data Documentation

char* XrdCnsLogClient::admURL [private]

Referenced by admConnect(), and XrdCnsLogClient().

char* XrdCnsLogClient::arkFN [private]
int XrdCnsLogClient::arkOnly [private]

Referenced by Run(), and XrdCnsLogClient().

char* XrdCnsLogClient::arkPath [private]

Referenced by Archive(), Manifest(), and XrdCnsLogClient().

char XrdCnsLogClient::arkURL[MAXPATHLEN+512] [private]

Referenced by Archive(), Run(), and XrdCnsLogClient().

char* XrdCnsLogClient::crtFN [private]

Referenced by do_Create(), and XrdCnsLogClient().

char XrdCnsLogClient::crtURL[MAXPATHLEN+512] [private]

Referenced by do_Create(), and XrdCnsLogClient().

Referenced by Activate(), Manifest(), and Run().

Referenced by Activate(), and Run().

char XrdCnsLogClient::logDir[MAXPATHLEN+1] [private]
char* XrdCnsLogClient::logFN [private]

Referenced by Activate(), Start(), and XrdCnsLogClient().

int XrdCnsLogClient::pfxNF [private]

Referenced by Activate(), and XrdCnsLogClient().

int XrdCnsLogClient::sfxFN [private]

Referenced by Activate(), and XrdCnsLogClient().

char* XrdCnsLogClient::urlHost [private]

Referenced by admConnect(), Init(), Run(), and XrdCnsLogClient().


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