xrootd
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdXrootdTpcMon Class Reference

#include <XrdXrootdTpcMon.hh>

Collaboration diagram for XrdXrootdTpcMon:
Collaboration graph
[legend]

Classes

struct  TpcInfo
 

Public Member Functions

void Report (TpcInfo &info)
 
 XrdXrootdTpcMon (const char *proto, XrdSysLogger *logP, XrdXrootdGStream &gStrm)
 

Private Member Functions

 ~XrdXrootdTpcMon ()
 Destructor - This object cannot be destroyed.
 
const char * getURL (const char *spec, const char *prot, char *buff, int bsz)
 
const char * getUTC (struct timeval &tod, char *utcBuff, int utcBLen)
 

Private Attributes

const char * protocol
 
XrdXrootdGStreamgStream
 

Constructor & Destructor Documentation

◆ XrdXrootdTpcMon()

XrdXrootdTpcMon::XrdXrootdTpcMon ( const char *  proto,
XrdSysLogger logP,
XrdXrootdGStream gStrm 
)

Constructor

Parameters
proto- the protocol being used for this object.
logP- Pointer to the logging object.
gStrm- Reference to the gStream to be used for reporting info.

◆ ~XrdXrootdTpcMon()

XrdXrootdTpcMon::~XrdXrootdTpcMon ( )
inlineprivate

Destructor - This object cannot be destroyed.

Member Function Documentation

◆ getURL()

const char * XrdXrootdTpcMon::getURL ( const char *  spec,
const char *  prot,
char *  buff,
int  bsz 
)
private

◆ getUTC()

const char * XrdXrootdTpcMon::getUTC ( struct timeval &  tod,
char *  utcBuff,
int  utcBLen 
)
private

◆ Report()

void XrdXrootdTpcMon::Report ( TpcInfo info)

Report a TPC event.

Parameters
info- Reference to the filled in TpcInfo object.

Member Data Documentation

◆ gStream

XrdXrootdGStream& XrdXrootdTpcMon::gStream
private

◆ protocol

const char* XrdXrootdTpcMon::protocol
private

The documentation for this class was generated from the following file: