|
XRootD
|
#include <XrdXrootdGSReal.hh>
Inheritance diagram for XrdXrootdGSReal:
Collaboration diagram for XrdXrootdGSReal:Classes | |
| struct | GSParms |
Public Member Functions | |
| XrdXrootdGSReal (const GSParms &gsParms, bool &aOK) | |
| ~XrdXrootdGSReal () | |
| Destructor. Normally, this object is never deleted. More... | |
| 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 () |
Public Member Functions inherited from XrdJob | |
| XrdJob (const char *desc="") | |
| virtual | ~XrdJob () |
Public Member Functions inherited from XrdXrootdGStream | |
| XrdXrootdGStream (XrdXrootdGSReal &gsRef) | |
| 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 () |
Public Member Functions inherited from XrdXrootdMonitor::Hello | |
| Hello (const char *dest, char mode) | |
| virtual | ~Hello () |
Static Public Attributes | |
| 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 | fmtNone = 0 |
| static const int | hdrFull = 5 |
| Include site, host, port, inst, pgm. More... | |
| static const int | hdrHost = 3 |
| Include site, host. More... | |
| static const int | hdrInst = 4 |
| Include site, host, port, inst. 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 | 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... | |
Additional Inherited Members | |
Static Public Member Functions inherited from XrdXrootdMonitor::Hello | |
| static bool | Hail () |
Public Attributes inherited from XrdJob | |
| const char * | Comment |
| XrdJob * | NextJob |
Protected Member Functions inherited from XrdXrootdGStream | |
| ~XrdXrootdGStream () | |
| Destructor. This stream should never be directly deleted. More... | |
Definition at line 48 of file XrdXrootdGSReal.hh.
| struct XrdXrootdGSReal::GSParms |
Definition at line 95 of file XrdXrootdGSReal.hh.
Collaboration diagram for XrdXrootdGSReal::GSParms:| Class Members | ||
|---|---|---|
| const char * | dest | Destination for records. |
| int | flsT | Flush time (default from monitor) |
| char | Fmt | How to handle the records. |
| char | Hdr | Hdr type. |
| int | maxL | Maximum packet length (default 32K) |
| int | Mode | the monitor type for send routing. |
| char | Opt | Options. |
| const char * | pin | the plugin name. |
| kXR_char | Type | the specific G-Stream identifier |
| XrdXrootdGSReal::XrdXrootdGSReal | ( | const GSParms & | gsParms, |
| bool & | aOK | ||
| ) |
Definition at line 64 of file XrdXrootdGSReal.cc.
References XrdXrootdGSReal::GSParms::dest, XrdXrootdMonInfo::eDest, XrdXrootdGSReal::GSParms::flsT, XrdXrootdMonitor::Flushing(), XrdXrootdGSReal::GSParms::Fmt, fmtBin, fmtCgi, fmtJson, XrdXrootdGSReal::GSParms::Hdr, hdrNone, XrdXrootdGSReal::GSParms::maxL, XrdXrootdGSReal::GSParms::Mode, XrdXrootdMonInfo::monHost, XrdXrootdGSReal::GSParms::Opt, optNoID, XrdXrootdGSReal::GSParms::pin, XrdXrootdMonitor::User::Register(), and SetAutoFlush().
Here is the call graph for this function:
|
inline |
Destructor. Normally, this object is never deleted.
Definition at line 112 of file XrdXrootdGSReal.hh.
|
virtual |
Implements XrdJob.
Definition at line 173 of file XrdXrootdGSReal.cc.
| void XrdXrootdGSReal::Flush | ( | ) |
Definition at line 241 of file XrdXrootdGSReal.cc.
Referenced by XrdXrootdGStream::Flush().
Here is the caller graph for this function:| uint32_t XrdXrootdGSReal::GetDictID | ( | const char * | text, |
| bool | isPath = false |
||
| ) |
Definition at line 251 of file XrdXrootdGSReal.cc.
References XrdXrootdMonitor::GetDictID(), XrdSysMutex::Lock(), XrdXrootdMonitor::User::MapInfo(), XrdXrootdMonitor::User::MapPath(), XrdNetMsg::Send(), XrdSysMutex::UnLock(), XROOTD_MON_MAPINFO, and XROOTD_MON_MAPPATH.
Referenced by XrdXrootdGStream::GetDictID().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdXrootdGSReal::HasHdr | ( | ) |
Definition at line 295 of file XrdXrootdGSReal.cc.
Referenced by XrdXrootdGStream::HasHdr().
Here is the caller graph for this function:
|
virtual |
Reimplemented from XrdXrootdMonitor::Hello.
Definition at line 455 of file XrdXrootdGSReal.cc.
References XrdSysMutex::Lock(), XrdNetMsg::Send(), and XrdSysMutex::UnLock().
Here is the call graph for this function:| bool XrdXrootdGSReal::Insert | ( | const char * | data, |
| int | dlen | ||
| ) |
Definition at line 486 of file XrdXrootdGSReal.cc.
References XrdSysMutex::Lock(), XrdXrootdGStream::MaxDataLen, and XrdSysMutex::UnLock().
Referenced by XrdXrootdGStream::Insert().
Here is the call graph for this function:
Here is the caller graph for this function:| bool XrdXrootdGSReal::Insert | ( | int | dlen | ) |
Definition at line 515 of file XrdXrootdGSReal.cc.
References XrdSysMutex::UnLock().
Here is the call graph for this function:| char * XrdXrootdGSReal::Reserve | ( | int | dlen | ) |
Definition at line 559 of file XrdXrootdGSReal.cc.
References XrdSysMutex::Lock(), XrdXrootdGStream::MaxDataLen, and XrdSysMutex::UnLock().
Referenced by XrdXrootdGStream::Reserve().
Here is the call graph for this function:
Here is the caller graph for this function:| int XrdXrootdGSReal::SetAutoFlush | ( | int | afsec | ) |
Definition at line 584 of file XrdXrootdGSReal.cc.
Referenced by XrdXrootdGSReal(), and XrdXrootdGStream::SetAutoFlush().
Here is the caller graph for this function:| int XrdXrootdGSReal::Space | ( | ) |
Definition at line 603 of file XrdXrootdGSReal.cc.
Referenced by XrdXrootdGStream::Space().
Here is the caller graph for this function:
|
static |
Do not include info.
Definition at line 82 of file XrdXrootdGSReal.hh.
Referenced by XrdXrootdGSReal().
|
static |
Format as binary info.
Definition at line 83 of file XrdXrootdGSReal.hh.
Referenced by XrdXrootdGSReal().
|
static |
Format as CGI info.
Definition at line 84 of file XrdXrootdGSReal.hh.
Referenced by XrdXrootdGSReal().
|
static |
Constructor
| gsParms | the stream parameters as defined by GSParms. |
| aOK | reference to a boolean which will contain true on success or will be set to false, otherwise. |
Definition at line 81 of file XrdXrootdGSReal.hh.
|
static |
Include site, host, port, inst, pgm.
Definition at line 91 of file XrdXrootdGSReal.hh.
|
static |
Include site, host.
Definition at line 89 of file XrdXrootdGSReal.hh.
|
static |
Include site, host, port, inst.
Definition at line 90 of file XrdXrootdGSReal.hh.
|
static |
Format as JSON info.
Do not include header
Definition at line 86 of file XrdXrootdGSReal.hh.
Referenced by XrdXrootdGSReal().
|
static |
Include standard header.
Definition at line 87 of file XrdXrootdGSReal.hh.
|
static |
Include site.
Definition at line 88 of file XrdXrootdGSReal.hh.
|
static |
Don't send ident records.
Definition at line 93 of file XrdXrootdGSReal.hh.
Referenced by XrdXrootdGSReal().