xrootd
Loading...
Searching...
No Matches
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.
 
- 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.
 
static const int fmtCgi = 2
 Format as binary info.
 
static const int fmtJson = 3
 Format as CGI info.
 
static const int hdrNone = 0
 Format as JSON info.
 
static const int hdrNorm = 1
 Include standard header.
 
static const int hdrSite = 2
 Include site.
 
static const int hdrHost = 3
 Include site, host.
 
static const int hdrInst = 4
 Include site, host, port, inst.
 
static const int hdrFull = 5
 Include site, host, port, inst, pgm.
 
static const int optNoID = 0x01
 Don't send ident records.
 
- 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.
 

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.
 

Constructor & Destructor Documentation

◆ XrdXrootdGSReal()

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

◆ ~XrdXrootdGSReal()

XrdXrootdGSReal::~XrdXrootdGSReal ( )
inline

Destructor. Normally, this object is never deleted.

Member Function Documentation

◆ AutoFlush()

void XrdXrootdGSReal::AutoFlush ( )
private

◆ DoIt()

void XrdXrootdGSReal::DoIt ( )
virtual

Implements XrdJob.

◆ Expel()

void XrdXrootdGSReal::Expel ( int  dlen)
private

◆ Flush()

void XrdXrootdGSReal::Flush ( )

◆ GetDictID()

uint32_t XrdXrootdGSReal::GetDictID ( const char *  text,
bool  isPath = false 
)

◆ HasHdr()

bool XrdXrootdGSReal::HasHdr ( )

◆ hdrBIN()

int XrdXrootdGSReal::hdrBIN ( const GSParms gs)
private

◆ hdrCGI()

int XrdXrootdGSReal::hdrCGI ( const GSParms gs,
char *  buff,
int  blen 
)
private

◆ hdrJSN()

int XrdXrootdGSReal::hdrJSN ( const GSParms gs,
char *  buff,
int  blen 
)
private

◆ Ident()

void XrdXrootdGSReal::Ident ( )
virtual

Reimplemented from XrdXrootdMonitor::Hello.

◆ Insert() [1/2]

bool XrdXrootdGSReal::Insert ( const char *  data,
int  dlen 
)

◆ Insert() [2/2]

bool XrdXrootdGSReal::Insert ( int  dlen)

◆ Reserve()

char * XrdXrootdGSReal::Reserve ( int  dlen)

◆ SetAutoFlush()

int XrdXrootdGSReal::SetAutoFlush ( int  afsec)

◆ Space()

int XrdXrootdGSReal::Space ( )

Member Data Documentation

◆ afRunning

bool XrdXrootdGSReal::afRunning
private

◆ afTime

int XrdXrootdGSReal::afTime
private

◆ binHdr

XrdXrootdMonGS* XrdXrootdGSReal::binHdr
private

◆ dictHdr

char* XrdXrootdGSReal::dictHdr
private

◆ fmtBin

const int XrdXrootdGSReal::fmtBin = 1
static

Do not include info.

◆ fmtCgi

const int XrdXrootdGSReal::fmtCgi = 2
static

Format as binary info.

◆ fmtJson

const int XrdXrootdGSReal::fmtJson = 3
static

Format as CGI info.

◆ fmtNone

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.

◆ gMon

XrdXrootdMonitor::User XrdXrootdGSReal::gMon
private

◆ gMutex

XrdSysRecMutex XrdXrootdGSReal::gMutex
private

◆ hdrFull

const int XrdXrootdGSReal::hdrFull = 5
static

Include site, host, port, inst, pgm.

◆ hdrHost

const int XrdXrootdGSReal::hdrHost = 3
static

Include site, host.

◆ hdrInst

const int XrdXrootdGSReal::hdrInst = 4
static

Include site, host, port, inst.

◆ hdrNone

const int XrdXrootdGSReal::hdrNone = 0
static

Format as JSON info.

Do not include header

◆ hdrNorm

const int XrdXrootdGSReal::hdrNorm = 1
static

Include standard header.

◆ hdrSite

const int XrdXrootdGSReal::hdrSite = 2
static

Include site.

◆ hInfo

struct XrdXrootdGSReal::HdrInfo XrdXrootdGSReal::hInfo
private

◆ idntHdr0

char* XrdXrootdGSReal::idntHdr0
private

◆ idntHdr1

char* XrdXrootdGSReal::idntHdr1
private

◆ idntHsz1

int XrdXrootdGSReal::idntHsz1
private

◆ isCGI

bool XrdXrootdGSReal::isCGI
private

◆ monType

int XrdXrootdGSReal::monType
private

◆ optNoID

const int XrdXrootdGSReal::optNoID = 0x01
static

Don't send ident records.

◆ pSeq

int XrdXrootdGSReal::pSeq
private

◆ pSeqDID

int XrdXrootdGSReal::pSeqDID
private

◆ pSeqID

int XrdXrootdGSReal::pSeqID
private

◆ rsvbytes

int XrdXrootdGSReal::rsvbytes
private

◆ tBeg

int XrdXrootdGSReal::tBeg
private

◆ tEnd

int XrdXrootdGSReal::tEnd
private

◆ udpBEnd

char* XrdXrootdGSReal::udpBEnd
private

◆ udpBFirst

char* XrdXrootdGSReal::udpBFirst
private

◆ udpBNext

char* XrdXrootdGSReal::udpBNext
private

◆ udpBuffer

char* XrdXrootdGSReal::udpBuffer
private

◆ udpDest

XrdNetMsg* XrdXrootdGSReal::udpDest
private

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