|
XRootD
|
#include <XrdOfsEvs.hh>
Collaboration diagram for XrdOfsEvs:Public Types | |
| enum | Event { All = 0x7fffff00 , None = 0x00000000 , Chmod = 0x00000100 , Closer = 0x00000201 , Closew = 0x00000402 , Close = 0x00000600 , Create = 0x00000803 , Fwrite = 0x00001004 , Mkdir = 0x00002005 , Mv = 0x00004006 , Openr = 0x00008007 , Openw = 0x00010008 , Open = 0x00018000 , Rm = 0x00020009 , Rmdir = 0x0004000a , Trunc = 0x0008000b , nCount = 12 , Mask = 0X000000ff , enMask = 0x7fffff00 } |
Public Member Functions | |
| XrdOfsEvs (Event theEvents, const char *Target, int minq=90, int maxq=10) | |
| ~XrdOfsEvs () | |
| int | Enabled (Event theEvents) |
| int | maxLmsg () |
| int | maxSmsg () |
| void | Notify (Event eNum, XrdOfsEvsInfo &Info) |
| const char * | Prog () |
| void | sendEvents (void) |
| int | Start (XrdSysError *eobj) |
Static Public Member Functions | |
| static int | Parse (XrdSysError &Eroute, Event eNum, char *mText) |
Static Public Attributes | |
| static const int | maxMsgSize = 2384 |
| static const int | minMsgSize = 1360 |
Definition at line 120 of file XrdOfsEvs.hh.
| enum XrdOfsEvs::Event |
| Enumerator | |
|---|---|
| All | |
| None | |
| Chmod | |
| Closer | |
| Closew | |
| Close | |
| Create | |
| Fwrite | |
| Mkdir | |
| Mv | |
| Openr | |
| Openw | |
| Open | |
| Rm | |
| Rmdir | |
| Trunc | |
| nCount | |
| Mask | |
| enMask | |
Definition at line 124 of file XrdOfsEvs.hh.
| XrdOfsEvs::XrdOfsEvs | ( | Event | theEvents, |
| const char * | Target, | ||
| int | minq = 90, | ||
| int | maxq = 10 ) |
Definition at line 118 of file XrdOfsEvs.cc.
References Chmod, Closer, Closew, Create, XrdOfsEvsFormat::cvtFSize, XrdOfsEvsFormat::cvtMode, enMask, XrdOfsEvsInfo::evFMODE, XrdOfsEvsInfo::evFSIZE, XrdOfsEvsInfo::evLFN1, XrdOfsEvsInfo::evLFN2, XrdOfsEvsInfo::evTID, Fwrite, Mask, Mkdir, Mv, XrdOfsEvsFormat::Null, Openr, Openw, Rm, Rmdir, and Trunc.
| XrdOfsEvs::~XrdOfsEvs | ( | ) |
Definition at line 202 of file XrdOfsEvs.cc.
References close, XrdSysThread::Kill(), and XrdOfsEvsMsg::next.
Here is the call graph for this function:
|
inline |
Definition at line 139 of file XrdOfsEvs.hh.
|
inline |
Definition at line 142 of file XrdOfsEvs.hh.
|
inline |
Definition at line 141 of file XrdOfsEvs.hh.
| void XrdOfsEvs::Notify | ( | Event | eNum, |
| XrdOfsEvsInfo & | Info ) |
Definition at line 234 of file XrdOfsEvs.cc.
References XrdOfsEvsFormat::cvtFSize, XrdOfsEvsFormat::cvtMode, XrdOfsEvsInfo::evFMODE, XrdOfsEvsInfo::evFSIZE, XrdOfsEvsFormat::Flags, Mask, maxMsgSize, minMsgSize, Mv, nCount, XrdOfsEvsMsg::next, S_IAMB, XrdOfsEvsFormat::SNP(), XrdOfsEvsMsg::text, and XrdOfsEvsMsg::tlen.
Here is the call graph for this function:
|
static |
Definition at line 287 of file XrdOfsEvs.cc.
References XrdOfsEvsFormat::cvtFSize, XrdOfsEvsFormat::cvtMode, XrdSysError::Emsg(), XrdOfsEvsInfo::evARGS, XrdOfsEvsInfo::evCGI1, XrdOfsEvsInfo::evCGI2, XrdOfsEvsInfo::evFMODE, XrdOfsEvsInfo::evFSIZE, XrdOfsEvsInfo::evLFN1, XrdOfsEvsInfo::evLFN2, XrdOfsEvsInfo::evTID, XrdOfsEvsFormat::freeFmt, Mask, XrdOfsEvsFormat::Null, and XrdSysError::Say().
Here is the call graph for this function:
|
inline |
Definition at line 148 of file XrdOfsEvs.hh.
| void XrdOfsEvs::sendEvents | ( | void | ) |
Definition at line 363 of file XrdOfsEvs.cc.
References XrdOfsEvsMsg::next, XrdOfsEvsMsg::text, and XrdOfsEvsMsg::tlen.
Referenced by XrdOfsEvsSend().
Here is the caller graph for this function:| int XrdOfsEvs::Start | ( | XrdSysError * | eobj | ) |
Definition at line 394 of file XrdOfsEvs.cc.
References XrdNetSocket::Create(), XrdNetSocket::Detach(), XrdSysError::Emsg(), XrdSysThread::Run(), XRDNET_FIFO, and XrdOfsEvsSend().
Here is the call graph for this function:
|
static |
Definition at line 137 of file XrdOfsEvs.hh.
Referenced by Notify().
|
static |
Definition at line 136 of file XrdOfsEvs.hh.
Referenced by Notify().