xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
XrdXrootdGSReal Class Reference

#include <XrdXrootdGSReal.hh>

Inheritance diagram for XrdXrootdGSReal:
Inheritance graph
[legend]
Collaboration diagram for XrdXrootdGSReal:
Collaboration graph
[legend]

Classes

struct  GSParms
 
struct  HdrInfo
 

Public Member Functions

void DoIt ()
 
void Flush ()
 
uint32_t GetDictID (const char *text, bool isPath=false)
 
bool HasHdr ()
 
void Ident ()
 
bool Insert (const char *data, int dlen)
 
bool Insert (int dlen)
 
char * Reserve (int dlen)
 
int SetAutoFlush (int afsec)
 
int Space ()
 
 XrdXrootdGSReal (const GSParms &gsParms, bool &aOK)
 
 ~XrdXrootdGSReal ()
 Destructor. Normally, this object is never deleted. More...
 
- Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 
- Public Member Functions inherited from XrdXrootdGStream
void Flush ()
 
uint32_t GetDictID (const char *text, bool isPath=false)
 
bool HasHdr ()
 
bool Insert (const char *data, int dlen)
 
bool Insert (int dlen)
 
char * Reserve (int dlen)
 
int SetAutoFlush (int afsec)
 
int Space ()
 
 XrdXrootdGStream (XrdXrootdGSReal &gsRef)
 
- Public Member Functions inherited from XrdXrootdMonitor::Hello
 Hello (const char *dest, char mode)
 
virtual ~Hello ()
 

Static Public Attributes

static const int fmtNone = 0
 
static const int fmtBin = 1
 Do not include info. More...
 
static const int fmtCgi = 2
 Format as binary info. More...
 
static const int fmtJson = 3
 Format as CGI info. More...
 
static const int hdrNone = 0
 Format as JSON info. More...
 
static const int hdrNorm = 1
 Include standard header. More...
 
static const int hdrSite = 2
 Include site. More...
 
static const int hdrHost = 3
 Include site, host. More...
 
static const int hdrInst = 4
 Include site, host, port, inst. More...
 
static const int hdrFull = 5
 Include site, host, port, inst, pgm. More...
 
static const int optNoID = 0x01
 Don't send ident records. More...
 
- Static Public Attributes inherited from XrdXrootdGStream
static const int MaxDataLen = 65280
 The larest amount of data that can be inserted in a single call to GStream. More...
 

Private Member Functions

void AutoFlush ()
 
void Expel (int dlen)
 
int hdrBIN (const GSParms &gs)
 
int hdrCGI (const GSParms &gs, char *buff, int blen)
 
int hdrJSN (const GSParms &gs, char *buff, int blen)
 

Private Attributes

struct XrdXrootdGSReal::HdrInfo hInfo
 
char * dictHdr
 
char * idntHdr0
 
char * idntHdr1
 
int idntHsz1
 
int pSeq
 
int pSeqID
 
int pSeqDID
 
XrdSysRecMutex gMutex
 
XrdNetMsgudpDest
 
XrdXrootdMonGSbinHdr
 
char * udpBuffer
 
char * udpBFirst
 
char * udpBNext
 
char * udpBEnd
 
int tBeg
 
int tEnd
 
int rsvbytes
 
int monType
 
int afTime
 
bool afRunning
 
bool isCGI
 
XrdXrootdMonitor::User gMon
 

Additional Inherited Members

- Static Public Member Functions inherited from XrdXrootdMonitor::Hello
static bool Hail ()
 
- Public Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 
- Protected Member Functions inherited from XrdXrootdGStream
 ~XrdXrootdGStream ()
 Destructor. This stream should never be directly deleted. More...
 

Constructor & Destructor Documentation

XrdXrootdGSReal::XrdXrootdGSReal ( const GSParms gsParms,
bool &  aOK 
)
XrdXrootdGSReal::~XrdXrootdGSReal ( )
inline

Destructor. Normally, this object is never deleted.

Member Function Documentation

void XrdXrootdGSReal::AutoFlush ( )
private
void XrdXrootdGSReal::DoIt ( )
virtual

Implements XrdJob.

void XrdXrootdGSReal::Expel ( int  dlen)
private
void XrdXrootdGSReal::Flush ( )
uint32_t XrdXrootdGSReal::GetDictID ( const char *  text,
bool  isPath = false 
)
bool XrdXrootdGSReal::HasHdr ( )
int XrdXrootdGSReal::hdrBIN ( const GSParms gs)
private
int XrdXrootdGSReal::hdrCGI ( const GSParms gs,
char *  buff,
int  blen 
)
private
int XrdXrootdGSReal::hdrJSN ( const GSParms gs,
char *  buff,
int  blen 
)
private
void XrdXrootdGSReal::Ident ( )
virtual

Reimplemented from XrdXrootdMonitor::Hello.

bool XrdXrootdGSReal::Insert ( const char *  data,
int  dlen 
)
bool XrdXrootdGSReal::Insert ( int  dlen)
char* XrdXrootdGSReal::Reserve ( int  dlen)
int XrdXrootdGSReal::SetAutoFlush ( int  afsec)
int XrdXrootdGSReal::Space ( )

Member Data Documentation

bool XrdXrootdGSReal::afRunning
private
int XrdXrootdGSReal::afTime
private
XrdXrootdMonGS* XrdXrootdGSReal::binHdr
private
char* XrdXrootdGSReal::dictHdr
private
const int XrdXrootdGSReal::fmtBin = 1
static

Do not include info.

const int XrdXrootdGSReal::fmtCgi = 2
static

Format as binary info.

const int XrdXrootdGSReal::fmtJson = 3
static

Format as CGI info.

const int XrdXrootdGSReal::fmtNone = 0
static

Constructor

Parameters
gsParmsthe stream parameters as defined by GSParms.
aOKreference to a boolean which will contain true on success or will be set to false, otherwise.
XrdXrootdMonitor::User XrdXrootdGSReal::gMon
private
XrdSysRecMutex XrdXrootdGSReal::gMutex
private
const int XrdXrootdGSReal::hdrFull = 5
static

Include site, host, port, inst, pgm.

const int XrdXrootdGSReal::hdrHost = 3
static

Include site, host.

const int XrdXrootdGSReal::hdrInst = 4
static

Include site, host, port, inst.

const int XrdXrootdGSReal::hdrNone = 0
static

Format as JSON info.

Do not include header

const int XrdXrootdGSReal::hdrNorm = 1
static

Include standard header.

const int XrdXrootdGSReal::hdrSite = 2
static

Include site.

struct XrdXrootdGSReal::HdrInfo XrdXrootdGSReal::hInfo
private
char* XrdXrootdGSReal::idntHdr0
private
char* XrdXrootdGSReal::idntHdr1
private
int XrdXrootdGSReal::idntHsz1
private
bool XrdXrootdGSReal::isCGI
private
int XrdXrootdGSReal::monType
private
const int XrdXrootdGSReal::optNoID = 0x01
static

Don't send ident records.

int XrdXrootdGSReal::pSeq
private
int XrdXrootdGSReal::pSeqDID
private
int XrdXrootdGSReal::pSeqID
private
int XrdXrootdGSReal::rsvbytes
private
int XrdXrootdGSReal::tBeg
private
int XrdXrootdGSReal::tEnd
private
char* XrdXrootdGSReal::udpBEnd
private
char* XrdXrootdGSReal::udpBFirst
private
char* XrdXrootdGSReal::udpBNext
private
char* XrdXrootdGSReal::udpBuffer
private
XrdNetMsg* XrdXrootdGSReal::udpDest
private

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