Logo ROOT   6.08/07
Reference Guide
Functions
pq2ping.h File Reference
#include "Rtypes.h"
Include dependency graph for pq2ping.h:
This graph shows which files directly or indirectly include this file:

Functions

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 nothing valid is available. More...
 
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 directory. More...
 
Int_t pingXproofdAt ()
 Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XPROOFD. More...
 
Int_t pingXrootdAt ()
 Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XROOTD. More...
 

Function Documentation

◆ 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 nothing valid is available.

Definition at line 62 of file pq2ping.cxx.

◆ 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 directory.

Definition at line 281 of file pq2ping.cxx.

◆ pingXproofdAt()

Int_t pingXproofdAt ( )

Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XPROOFD.

Definition at line 196 of file pq2ping.cxx.

◆ pingXrootdAt()

Int_t pingXrootdAt ( )

Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XROOTD.

Definition at line 125 of file pq2ping.cxx.