ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
proof
pq2
inc
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
#ifndef ROOT_Rtypes
16
#include "
Rtypes.h
"
17
#endif
18
19
//////////////////////////////////////////////////////////////////////////
20
// //
21
// pq2ping //
22
// //
23
// Prototypes for functions used in PQ2 functions to check daemons //
24
// //
25
//////////////////////////////////////////////////////////////////////////
26
27
Int_t
checkUrl
(
const
char
*url,
const
char
*
flog
,
bool
def_proof = 0);
28
Int_t
pingXproofdAt
();
29
Int_t
pingXrootdAt
();
30
Int_t
pingServerAt
();
31
32
#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