pq2ping.cxx File Reference

#include <stdio.h>
#include <stdlib.h>
#include "Bytes.h"
#include "TSocket.h"
#include "TString.h"
#include "TSystem.h"
#include "TUrl.h"
#include "redirguard.h"
#include "pq2ping.h"

Go to the source code of this file.

Classes

struct  clnt_HS_t
struct  srv_HS_t

Functions

Int_t checkUrl (const char *url, const char *flog, bool def_proof)
Int_t pingXrootdAt ()
Int_t pingXproofdAt ()
Int_t pingServerAt ()

Variables

TUrl gUrl
Bool_t gIsProof = kFALSE
Int_t gverbose


Function Documentation

Int_t checkUrl ( const char *  url,
const char *  flog,
bool  def_proof 
)

Definition at line 56 of file pq2ping.cxx.

References TUrl::GetProtocol(), gIsProof, gUrl, gverbose, kFALSE, kTRUE, pingServerAt(), pingXproofdAt(), pingXrootdAt(), Printf(), TUrl::SetOptions(), and TUrl::SetUrl().

Int_t pingServerAt (  ) 

Definition at line 256 of file pq2ping.cxx.

References FileStat_t::fMode, TSystem::GetPathInfo(), TUrl::GetUrl(), gSystem, gUrl, and R_ISDIR().

Int_t pingXproofdAt (  ) 

Definition at line 184 of file pq2ping.cxx.

References gDebug, TUrl::GetHost(), TUrl::GetPort(), gUrl, host2net(), int, len, srv_HS_t::msglen, srv_HS_t::msgval, net2host(), XrdMonCtrCollector::port, Printf(), srv_HS_t::protover, s, and type.

Int_t pingXrootdAt (  ) 

Definition at line 119 of file pq2ping.cxx.

References gDebug, TUrl::GetHost(), TUrl::GetPort(), gUrl, host2net(), len, net2host(), XrdMonCtrCollector::port, Printf(), s, and type.


Variable Documentation

Bool_t gIsProof = kFALSE

Definition at line 50 of file pq2ping.cxx.

Referenced by checkUrl(), DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().

TUrl gUrl

Definition at line 49 of file pq2ping.cxx.

Referenced by checkUrl(), getDSMgr(), getProof(), pingServerAt(), pingXproofdAt(), and pingXrootdAt().

Int_t gverbose

Definition at line 40 of file pq2main.cxx.


Generated on Tue Jul 5 16:08:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1