xrootd
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::XrdCnsLogClient ( XrdOucTList rP,
XrdCnsLogClient pcP 
)

◆ ~XrdCnsLogClient()

XrdCnsLogClient::~XrdCnsLogClient ( )
inline

Member Function Documentation

◆ Activate()

int XrdCnsLogClient::Activate ( XrdCnsLogFile basefile)

◆ admConnect()

XrdClientAdmin* XrdCnsLogClient::admConnect ( XrdClientAdmin adminP)
private

◆ Archive()

int XrdCnsLogClient::Archive ( XrdCnsLogFile lfP)
private

◆ do_Create()

int XrdCnsLogClient::do_Create ( XrdCnsLogRec lrP,
const char *  lfn = 0 
)
private

◆ do_Mkdir()

int XrdCnsLogClient::do_Mkdir ( XrdCnsLogRec lrP)
private

◆ do_Mv()

int XrdCnsLogClient::do_Mv ( XrdCnsLogRec lrP)
private

◆ do_Rm()

int XrdCnsLogClient::do_Rm ( XrdCnsLogRec lrP)
private

◆ do_Rmdir()

int XrdCnsLogClient::do_Rmdir ( XrdCnsLogRec lrP)
private

◆ do_Trunc()

int XrdCnsLogClient::do_Trunc ( XrdCnsLogRec lrP,
const char *  lfn = 0 
)
private

◆ getMount()

char XrdCnsLogClient::getMount ( char *  Lfn,
char *  Pfn,
XrdCnsXref Mount 
)
private

◆ Init()

int XrdCnsLogClient::Init ( )

◆ Inventory()

int XrdCnsLogClient::Inventory ( XrdCnsLogFile lfp,
const char *  dPath 
)
private

◆ Manifest()

int XrdCnsLogClient::Manifest ( )
private

◆ mapError()

int XrdCnsLogClient::mapError ( int  rc)
private

◆ Run()

int XrdCnsLogClient::Run ( int  Always = 1)

◆ Start()

int XrdCnsLogClient::Start ( )

◆ xrdEmsg() [1/3]

int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN 
)
private

◆ xrdEmsg() [2/3]

int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN,
XrdClient fP 
)
private

◆ xrdEmsg() [3/3]

int XrdCnsLogClient::xrdEmsg ( const char *  Opname,
const char *  theFN,
XrdClientAdmin aP 
)
private

Member Data Documentation

◆ Admin

XrdClientAdmin* XrdCnsLogClient::Admin
private

◆ admURL

char* XrdCnsLogClient::admURL
private

◆ arkFN

char* XrdCnsLogClient::arkFN
private

◆ arkOnly

int XrdCnsLogClient::arkOnly
private

◆ arkPath

char* XrdCnsLogClient::arkPath
private

◆ arkURL

char XrdCnsLogClient::arkURL[MAXPATHLEN+512]
private

◆ crtFN

char* XrdCnsLogClient::crtFN
private

◆ crtURL

char XrdCnsLogClient::crtURL[MAXPATHLEN+512]
private

◆ lfMutex

XrdSysMutex XrdCnsLogClient::lfMutex
private

◆ lfSem

XrdSysSemaphore XrdCnsLogClient::lfSem
private

◆ logDir

char XrdCnsLogClient::logDir[MAXPATHLEN+1]
private

◆ logFirst

XrdCnsLogFile* XrdCnsLogClient::logFirst
private

◆ logFN

char* XrdCnsLogClient::logFN
private

◆ logLast

XrdCnsLogFile* XrdCnsLogClient::logLast
private

◆ Next

XrdCnsLogClient* XrdCnsLogClient::Next
private

◆ pfxNF

int XrdCnsLogClient::pfxNF
private

◆ sfxFN

int XrdCnsLogClient::sfxFN
private

◆ urlHost

char* XrdCnsLogClient::urlHost
private

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