XrdCnsLogServer Class Reference

#include <XrdCnsLogServer.hh>

List of all members.

Public Member Functions

int Init (XrdOucTList *rList)
void Run ()
 XrdCnsLogServer ()
 ~XrdCnsLogServer ()

Private Member Functions

void Massage (XrdCnsLogRec *lrP)

Private Attributes

XrdCnsLogClientClient
XrdCnsLogFilelogFile
char logDir [MAXPATHLEN+1]
char * logFN


Detailed Description

Definition at line 21 of file XrdCnsLogServer.hh.


Constructor & Destructor Documentation

XrdCnsLogServer::XrdCnsLogServer (  ) 

Definition at line 68 of file XrdCnsLogServer.cc.

References XrdFrm::Config(), logDir, logFN, and strcpy().

XrdCnsLogServer::~XrdCnsLogServer (  )  [inline]

Definition at line 30 of file XrdCnsLogServer.hh.


Member Function Documentation

int XrdCnsLogServer::Init ( XrdOucTList rList  ) 

Definition at line 80 of file XrdCnsLogServer.cc.

References XrdCnsLogClient::Activate(), Client, XrdFrm::Config(), XrdSysError::Emsg(), XrdCnsLogFile::Eol(), XrdCnsLogClient::Init(), logDir, logFile, logFN, XrdCnsLogFile::maxRecs(), XrdCns::MLog, XrdOucTList::next, XrdCnsLogFile::Open(), XrdCnsConfig::optRecr, XrdSysThread::Run(), XrdCnsLogClient::Start(), XrdCns::StartLogServer(), stat, strcpy(), XrdOucTList::text, unlink, and XRDSYSTHREAD_BIND.

void XrdCnsLogServer::Run (  ) 

Definition at line 190 of file XrdCnsLogServer.cc.

References XrdCnsLogClient::Activate(), XrdCnsLogFile::Add(), Client, XrdFrm::Config(), DEBUG, XrdSysError::Emsg(), XrdCnsLogFile::Eol(), XrdCnsLogRec::Get(), logDir, logFile, XrdCnsLogRec::lrCreate, Massage(), XrdCns::MLog, XrdCnsLogFile::Open(), XrdCnsLogRec::Recycle(), TRACE, XrdCnsLogRec::Type(), and XrdCnsLogFile::Unlink().

Referenced by XrdCns::StartLogServer().

void XrdCnsLogServer::Massage ( XrdCnsLogRec lrP  )  [private]

Definition at line 157 of file XrdCnsLogServer.cc.

References XrdFrm::Config(), XrdOssPath::Extract(), XrdCnsLogRec::Lfn1(), XrdFrmConfig::LocalPath(), XrdCnsLogRec::setData(), and strcpy().

Referenced by Run().


Member Data Documentation

XrdCnsLogClient* XrdCnsLogServer::Client [private]

Definition at line 36 of file XrdCnsLogServer.hh.

Referenced by Init(), and Run().

XrdCnsLogFile* XrdCnsLogServer::logFile [private]

Definition at line 37 of file XrdCnsLogServer.hh.

Referenced by Init(), and Run().

char XrdCnsLogServer::logDir[MAXPATHLEN+1] [private]

Definition at line 39 of file XrdCnsLogServer.hh.

Referenced by Init(), Run(), and XrdCnsLogServer().

char* XrdCnsLogServer::logFN [private]

Definition at line 40 of file XrdCnsLogServer.hh.

Referenced by Init(), and XrdCnsLogServer().


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