Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdCnsLogRec Class Reference

#include <XrdCnsLogRec.hh>

Collaboration diagram for XrdCnsLogRec:

Collaboration graph
[legend]
List of all members.

Public Member Functions

const char * Data ()
int DLen ()
int Done (int iPos)
const char * Lfn1 ()
const char * Lfn1 (int &Len)
const char * Lfn2 ()
mode_t Mode ()
void Queue ()
void Recycle ()
char * Record ()
int setData (const char *dP1, const char *dP2=0)
void setDone (int iPos, char Val=1)
int setLen ()
int setLfn1 (const char *lfn)
int setLfn2 (const char *lfn)
void setMode (mode_t Mode)
void setMount (char mCode)
void setSize (long long Size)
void setSpace (char sCode)
void setTime (long TOD=time(0))
void setType (const char evt)
int setType (const char *evt)
long long Size ()
char Space ()
int L1sz ()
int L2sz ()
char Type ()
 XrdCnsLogRec (const char rType=0)
 ~XrdCnsLogRec ()

Static Public Member Functions

XrdCnsLogRecAlloc ()
XrdCnsLogRecGet (char &lrType)

Static Public Attributes

const int maxClients = 4
const int OffDone = offsetof(LogRec, Hdr.Done)
const int FixDLen = offsetof(Arg, lfn)
const int MinSize = sizeof(Ctl)
const int MaxSize = sizeof(Arg)
const long tBase = 1248126834L
const char lrClosew = 't'
const char lrCreate = 'c'
const char lrEOL = 'E'
const char lrInvD = 'I'
const char lrInvF = 'i'
const char lrMkdir = 'd'
const char lrMount = 'M'
const char lrMv = 'm'
const char lrRm = 'r'
const char lrRmdir = 'D'
const char lrSpace = 'S'
const char lrTOD = 'T'
const char * IArg = "I755 -1 "
const char * iArg = "i644 0 "

Private Attributes

XrdCnsLogRecNext
LogRec Rec

Static Private Attributes

XrdSysSemaphore qSem
XrdSysMutex qMutex
XrdSysMutex fMutex
XrdCnsLogRecfreeRec = 0
XrdCnsLogRecfrstRec = 0
XrdCnsLogReclastRec = 0
int Running = 0

Constructor & Destructor Documentation

XrdCnsLogRec::XrdCnsLogRec const char  rType = 0  )  [inline]
 

XrdCnsLogRec::~XrdCnsLogRec  )  [inline]
 


Member Function Documentation

XrdCnsLogRec * XrdCnsLogRec::Alloc  )  [static]
 

const char* XrdCnsLogRec::Data  )  [inline]
 

int XrdCnsLogRec::DLen  )  [inline]
 

int XrdCnsLogRec::Done int  iPos  )  [inline]
 

XrdCnsLogRec * XrdCnsLogRec::Get char &  lrType  )  [static]
 

int XrdCnsLogRec::L1sz  )  [inline]
 

int XrdCnsLogRec::L2sz  )  [inline]
 

const char* XrdCnsLogRec::Lfn1 int &  Len  )  [inline]
 

const char* XrdCnsLogRec::Lfn1  )  [inline]
 

const char* XrdCnsLogRec::Lfn2  )  [inline]
 

mode_t XrdCnsLogRec::Mode  )  [inline]
 

void XrdCnsLogRec::Queue  ) 
 

char* XrdCnsLogRec::Record  )  [inline]
 

void XrdCnsLogRec::Recycle  ) 
 

int XrdCnsLogRec::setData const char *  dP1,
const char *  dP2 = 0
 

void XrdCnsLogRec::setDone int  iPos,
char  Val = 1
[inline]
 

int XrdCnsLogRec::setLen  )  [inline]
 

int XrdCnsLogRec::setLfn1 const char *  lfn  )  [inline]
 

int XrdCnsLogRec::setLfn2 const char *  lfn  )  [inline]
 

void XrdCnsLogRec::setMode mode_t  Mode  )  [inline]
 

void XrdCnsLogRec::setMount char  mCode  )  [inline]
 

void XrdCnsLogRec::setSize long long  Size  )  [inline]
 

void XrdCnsLogRec::setSpace char  sCode  )  [inline]
 

void XrdCnsLogRec::setTime long  TOD = time(0)  )  [inline]
 

int XrdCnsLogRec::setType const char *  evt  ) 
 

void XrdCnsLogRec::setType const char  evt  )  [inline]
 

long long XrdCnsLogRec::Size  )  [inline]
 

char XrdCnsLogRec::Space  )  [inline]
 

char XrdCnsLogRec::Type  )  [inline]
 


Member Data Documentation

const int XrdCnsLogRec::FixDLen = offsetof(Arg, lfn) [static]
 

XrdSysMutex XrdCnsLogRec::fMutex [static, private]
 

XrdCnsLogRec * XrdCnsLogRec::freeRec = 0 [static, private]
 

XrdCnsLogRec * XrdCnsLogRec::frstRec = 0 [static, private]
 

const char * XrdCnsLogRec::iArg = "i644 0 " [static]
 

const char * XrdCnsLogRec::IArg = "I755 -1 " [static]
 

XrdCnsLogRec * XrdCnsLogRec::lastRec = 0 [static, private]
 

const char XrdCnsLogRec::lrClosew = 't' [static]
 

const char XrdCnsLogRec::lrCreate = 'c' [static]
 

const char XrdCnsLogRec::lrEOL = 'E' [static]
 

const char XrdCnsLogRec::lrInvD = 'I' [static]
 

const char XrdCnsLogRec::lrInvF = 'i' [static]
 

const char XrdCnsLogRec::lrMkdir = 'd' [static]
 

const char XrdCnsLogRec::lrMount = 'M' [static]
 

const char XrdCnsLogRec::lrMv = 'm' [static]
 

const char XrdCnsLogRec::lrRm = 'r' [static]
 

const char XrdCnsLogRec::lrRmdir = 'D' [static]
 

const char XrdCnsLogRec::lrSpace = 'S' [static]
 

const char XrdCnsLogRec::lrTOD = 'T' [static]
 

const int XrdCnsLogRec::maxClients = 4 [static]
 

const int XrdCnsLogRec::MaxSize = sizeof(Arg) [static]
 

const int XrdCnsLogRec::MinSize = sizeof(Ctl) [static]
 

XrdCnsLogRec* XrdCnsLogRec::Next [private]
 

const int XrdCnsLogRec::OffDone = offsetof(LogRec, Hdr.Done) [static]
 

XrdSysMutex XrdCnsLogRec::qMutex [static, private]
 

XrdSysSemaphore XrdCnsLogRec::qSem [static, private]
 

LogRec XrdCnsLogRec::Rec [private]
 

int XrdCnsLogRec::Running = 0 [static, private]
 

const long XrdCnsLogRec::tBase = 1248126834L [static]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:42:05 2011 for xrootd by  doxygen 1.3.9.1