ROOT
6.10/09
Reference Guide
proof
pq2
src
pq2ping.h
Go to the documentation of this file.
1
// @(#)root/proof:$Id$
2
// Author: G. Ganis, Mar 2010
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef PQ2_ping
13
#define PQ2_ping
14
15
#include "
Rtypes.h
"
16
17
//////////////////////////////////////////////////////////////////////////
18
// //
19
// pq2ping //
20
// //
21
// Prototypes for functions used in PQ2 functions to check daemons //
22
// //
23
//////////////////////////////////////////////////////////////////////////
24
25
Int_t
checkUrl
(
const
char
*url,
const
char
*
flog
,
bool
def_proof = 0);
26
Int_t
pingXproofdAt
();
27
Int_t
pingXrootdAt
();
28
Int_t
pingServerAt
();
29
30
#endif
Rtypes.h
Int_t
int Int_t
Definition:
RtypesCore.h:41
checkUrl
Int_t checkUrl(const char *url, const char *flog, bool def_proof=0)
Check if something is running at gUrl Return 0 if OK and data server 1 if OK and PROOF server -1 if n...
Definition:
pq2ping.cxx:62
pingXrootdAt
Int_t pingXrootdAt()
Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening...
Definition:
pq2ping.cxx:125
flog
TString flog
Definition:
pq2main.cxx:37
pingXproofdAt
Int_t pingXproofdAt()
Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening...
Definition:
pq2ping.cxx:196
pingServerAt
Int_t pingServerAt()
Check if service is running at 'url' Return 0 if OK -1 if nothing is listening at the URL 1 if not a ...
Definition:
pq2ping.cxx:281