xrootd
XrdMonDecArgParser.hh
Go to the documentation of this file.
1 /*****************************************************************************/
2 /* */
3 /* XrdMonDecArgParser.cc */
4 /* */
5 /* (c) 2004 by the Board of Trustees of the Leland Stanford, Jr., University */
6 /* All Rights Reserved */
7 /* Produced by Jacek Becla for Stanford University under contract */
8 /* DE-AC02-76SF00515 with the Department of Energy */
9 /*****************************************************************************/
10 
11 // $Id$
12 
13 #ifndef XRDMONDECARGPARSER_HH
14 #define XRDMONDECARGPARSER_HH
15 
16 #include "XProtocol/XPtypes.hh"
17 #include <string>
18 using std::string;
19 #include <sys/time.h>
20 
22 public:
23  static void parseArguments(int argc, char* argv[]);
24  static bool _forceCloseOnly;
27  static string _fPath;
28  static string _hostPort; // of the sender - xrd host
29  static string _baseDir;
30  static bool _saveTraces;
31  static int _maxTraceLogSize;
32 
33  // these below used for dumpPackets app only
35 
36 private:
37  static void convertTime(int nr, char* argv[]);
38  static string parsePath();
39 };
40 
41 #endif /* XRDMONDECARGPARSER_HH */