Go to the documentation of this file. 1 #ifndef __XRDOFSEVS_H__
2 #define __XRDOFSEVS_H__
56 inline void Set(
evArg aNum,
const char *aVal) {
Arg[aNum] = aVal;}
61 const char *lfn1,
const char *cgi1=
"",
XrdOucEnv *env1=0,
62 mode_t mode=0,
long long fsize=0,
63 const char *lfn2=
"$LFN2",
const char *cgi2=
"",
XrdOucEnv *env2=0)
109 memcpy(
Args, fullArgs,
sizeof(
Args));
159 int Feed(
const char *data,
int dlen);
@ Closer
Definition: XrdOfsEvs.hh:125
int numMin
Definition: XrdOfsEvs.hh:181
@ None
Definition: XrdOfsEvs.hh:124
@ Open
Definition: XrdOfsEvs.hh:130
Definition: XrdOfsEvs.hh:47
Definition: XrdOucProg.hh:38
evArg
Definition: XrdOfsEvs.hh:50
Definition: XrdSysPthread.hh:165
XrdSysSemaphore qSem
Definition: XrdOfsEvs.hh:171
char * theTarget
Definition: XrdOfsEvs.hh:166
@ evFMODE
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:121
static int Parse(XrdSysError &Eroute, Event eNum, char *mText)
static XrdOfsEvsFormat MsgFmt[XrdOfsEvs::nCount]
Definition: XrdOfsEvs.hh:163
int endIT
Definition: XrdOfsEvs.hh:177
XrdOfsEvsMsg * msgFirst
Definition: XrdOfsEvs.hh:172
XrdOfsEvsInfo(const char *tid, const char *lfn1, const char *cgi1="", XrdOucEnv *env1=0, mode_t mode=0, long long fsize=0, const char *lfn2="$LFN2", const char *cgi2="", XrdOucEnv *env2=0)
Definition: XrdOfsEvs.hh:60
XrdOfsEvsMsg * msgFreeMax
Definition: XrdOfsEvs.hh:175
XrdSysMutex qMut
Definition: XrdOfsEvs.hh:170
int maxMin
Definition: XrdOfsEvs.hh:182
int maxSmsg()
Definition: XrdOfsEvs.hh:141
int maxLmsg()
Definition: XrdOfsEvs.hh:142
@ Info
Definition: XrdMacaroonsHandler.hh:18
const char * Val(evArg aNum)
Definition: XrdOfsEvs.hh:58
void retMsg(XrdOfsEvsMsg *tp)
XrdOucEnv * Env2
Definition: XrdOfsEvs.hh:78
mode_t FMode()
Definition: XrdOfsEvs.hh:54
XrdSysMutex fMut
Definition: XrdOfsEvs.hh:174
@ Mkdir
Definition: XrdOfsEvs.hh:128
@ Rm
Definition: XrdOfsEvs.hh:130
@ Chmod
Definition: XrdOfsEvs.hh:125
~XrdOfsEvsInfo()
Definition: XrdOfsEvs.hh:72
static const int maxMsgSize
Definition: XrdOfsEvs.hh:137
int Feed(const char *data, int dlen)
int Enabled(Event theEvents)
Definition: XrdOfsEvs.hh:139
@ Openw
Definition: XrdOfsEvs.hh:129
@ evTID
Definition: XrdOfsEvs.hh:50
Fmt
Definition: XrdSysTrace.hh:42
Definition: XrdSysPthread.hh:438
XrdOfsEvsMsg * msgFreeMin
Definition: XrdOfsEvs.hh:176
@ Create
Definition: XrdOfsEvs.hh:127
@ nCount
Definition: XrdOfsEvs.hh:132
void Notify(Event eNum, XrdOfsEvsInfo &Info)
@ Close
Definition: XrdOfsEvs.hh:126
Definition: XrdOucEnv.hh:42
pthread_t tid
Definition: XrdOfsEvs.hh:165
@ Openr
Definition: XrdOfsEvs.hh:129
const char * Arg[evARGS]
Definition: XrdOfsEvs.hh:76
Event enEvents
Definition: XrdOfsEvs.hh:167
@ evARGS
Definition: XrdOfsEvs.hh:50
@ Rmdir
Definition: XrdOfsEvs.hh:131
XrdOucProg * theProg
Definition: XrdOfsEvs.hh:169
mode_t theFMode
Definition: XrdOfsEvs.hh:80
XrdOfsEvs(Event theEvents, const char *Target, int minq=90, int maxq=10)
XrdSysError * eDest
Definition: XrdOfsEvs.hh:168
long long FSize()
Definition: XrdOfsEvs.hh:52
void Set(evArg aNum, const char *aVal)
Definition: XrdOfsEvs.hh:56
XrdOfsEvsMsg * getMsg(int bigmsg)
@ evLFN1
Definition: XrdOfsEvs.hh:50
@ enMask
Definition: XrdOfsEvs.hh:133
int numMax
Definition: XrdOfsEvs.hh:179
@ Trunc
Definition: XrdOfsEvs.hh:131
@ Closew
Definition: XrdOfsEvs.hh:126
int Start(XrdSysError *eobj)
XrdOfsEvsMsg * msgLast
Definition: XrdOfsEvs.hh:173
@ All
Definition: XrdOfsEvs.hh:124
static const int minMsgSize
Definition: XrdOfsEvs.hh:136
int maxMax
Definition: XrdOfsEvs.hh:180
Event
Definition: XrdOfsEvs.hh:124
@ Mv
Definition: XrdOfsEvs.hh:128
int msgFD
Definition: XrdOfsEvs.hh:178
@ evFSIZE
Definition: XrdOfsEvs.hh:50
@ evLFN2
Definition: XrdOfsEvs.hh:50
Definition: XrdSysError.hh:90
@ Mask
Definition: XrdOfsEvs.hh:133
long long theFSize
Definition: XrdOfsEvs.hh:79
@ Fwrite
Definition: XrdOfsEvs.hh:127
const char * eName(int eNum)
XrdOucEnv * Env1
Definition: XrdOfsEvs.hh:77
const char * Prog()
Definition: XrdOfsEvs.hh:148
@ evCGI2
Definition: XrdOfsEvs.hh:50
@ evCGI1
Definition: XrdOfsEvs.hh:50