XrdMonDecArgParser.hh

Go to the documentation of this file.
00001 /*****************************************************************************/
00002 /*                                                                           */
00003 /*                           XrdMonDecArgParser.cc                           */
00004 /*                                                                           */
00005 /* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
00006 /*                            All Rights Reserved                            */
00007 /*       Produced by Jacek Becla for Stanford University under contract      */
00008 /*              DE-AC02-76SF00515 with the Department of Energy              */
00009 /*****************************************************************************/
00010 
00011 // $Id: XrdMonDecArgParser.hh 22437 2008-03-04 14:35:16Z rdm $
00012 
00013 #ifndef XRDMONDECARGPARSER_HH
00014 #define XRDMONDECARGPARSER_HH
00015 
00016 #include "XProtocol/XPtypes.hh"
00017 #include <string>
00018 using std::string;
00019 #include <sys/time.h>
00020 
00021 class XrdMonDecArgParser {
00022 public:
00023     static void parseArguments(int argc, char* argv[]);
00024     static bool   _forceCloseOnly;
00025     static kXR_int32 _upToTime;
00026     static kXR_int32 _ignoreIfBefore;
00027     static string _fPath;
00028     static string _hostPort; // of the sender - xrd host
00029     static string _baseDir;
00030     static bool   _saveTraces;
00031     static int    _maxTraceLogSize;
00032     
00033     // these below used for dumpPackets app only 
00034    static kXR_int64 _offset2Dump;
00035     
00036 private:
00037     static void convertTime(int nr, char* argv[]);
00038     static string parsePath();
00039 };
00040 
00041 #endif /* XRDMONDECARGPARSER_HH */

Generated on Tue Jul 5 14:46:42 2011 for ROOT_528-00b_version by  doxygen 1.5.1