xrootd
Main Page
Namespaces
Classes
Files
File List
File Members
src
XrdMon
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
21
class
XrdMonDecArgParser
{
22
public
:
23
static
void
parseArguments
(
int
argc,
char
* argv[]);
24
static
bool
_forceCloseOnly
;
25
static
kXR_int32
_upToTime
;
26
static
kXR_int32
_ignoreIfBefore
;
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
34
static
kXR_int64
_offset2Dump
;
35
36
private
:
37
static
void
convertTime
(
int
nr,
char
* argv[]);
38
static
string
parsePath
();
39
};
40
41
#endif
/* XRDMONDECARGPARSER_HH */
Generated by
1.8.3.1