00001 #ifndef __XRDCNS_LogServer__ 00002 #define __XRDCNS_LogServer__ 00003 /******************************************************************************/ 00004 /* */ 00005 /* X r d C n s L o g S e r v e r . h h */ 00006 /* */ 00007 /* (c) 2009 by the Board of Trustees of the Leland Stanford, Jr., University */ 00008 /* All Rights Reserved */ 00009 /* Produced by Andrew Hanushevsky for Stanford University under contract */ 00010 /* DE-AC02-76-SFO0515 with the Department of Energy */ 00011 /******************************************************************************/ 00012 00013 // $Id: XrdCnsLogServer.hh 30949 2009-11-02 16:37:58Z ganis $ 00014 00015 #include <sys/param.h> 00016 00017 class XrdOucTList; 00018 class XrdCnsLogClient; 00019 class XrdCnsLogFile; 00020 00021 class XrdCnsLogServer 00022 { 00023 public: 00024 00025 int Init(XrdOucTList *rList); 00026 00027 void Run(); 00028 00029 XrdCnsLogServer(); 00030 ~XrdCnsLogServer() {} 00031 00032 00033 private: 00034 void Massage(XrdCnsLogRec *lrP); 00035 00036 XrdCnsLogClient *Client; 00037 XrdCnsLogFile *logFile; 00038 00039 char logDir[MAXPATHLEN+1]; 00040 char *logFN; 00041 }; 00042 #endif