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));
154 XrdOfsEvs(
Event theEvents,
const char *Target,
int minq=90,
int maxq=10);
158 const char *
eName(
int eNum);
159 int Feed(
const char *data,
int dlen);
160 XrdOfsEvsMsg *
getMsg(
int bigmsg);
161 void retMsg(XrdOfsEvsMsg *tp);
Definition: XrdOfsEvs.hh:125
int Feed(const char *data, int dlen)
XrdOfsEvsMsg * msgLast
Definition: XrdOfsEvs.hh:173
XrdOfsEvs(Event theEvents, const char *Target, int minq=90, int maxq=10)
Definition: XrdOfsEvs.hh:124
Definition: XrdOfsEvs.hh:133
XrdOucProg * theProg
Definition: XrdOfsEvs.hh:169
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
mode_t FMode()
Definition: XrdOfsEvs.hh:54
XrdSysSemaphore qSem
Definition: XrdOfsEvs.hh:171
XrdOfsEvsMsg * msgFreeMax
Definition: XrdOfsEvs.hh:175
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:120
static const int minMsgSize
Definition: XrdOfsEvs.hh:136
const char * eName(int eNum)
XrdOucEnv * Env2
Definition: XrdOfsEvs.hh:78
const char * Val(evArg aNum)
Definition: XrdOfsEvs.hh:58
Definition: XrdOfsEvs.hh:50
Event
Definition: XrdOfsEvs.hh:124
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:129
Event enEvents
Definition: XrdOfsEvs.hh:167
const char * Arg[evARGS]
Definition: XrdOfsEvs.hh:76
~XrdOfsEvsInfo()
Definition: XrdOfsEvs.hh:72
Definition: XrdOfsEvs.hh:124
const char * Prog()
Definition: XrdOfsEvs.hh:148
Definition: XrdOfsEvs.hh:126
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:130
XrdSysError * eDest
Definition: XrdOfsEvs.hh:168
Definition: XrdOfsEvs.hh:50
Definition: XrdOfsEvs.hh:128
Definition: XrdOfsEvs.hh:50
Definition: XrdSysError.hh:89
int maxLmsg()
Definition: XrdOfsEvs.hh:142
Definition: XrdOfsEvs.hh:132
Definition: XrdOfsEvs.hh:131
int msgFD
Definition: XrdOfsEvs.hh:178
int maxMin
Definition: XrdOfsEvs.hh:182
Definition: XrdSysPthread.hh:165
static int Parse(XrdSysError &Eroute, Event eNum, char *mText)
XrdOfsEvsMsg * msgFreeMin
Definition: XrdOfsEvs.hh:176
long long theFSize
Definition: XrdOfsEvs.hh:79
int endIT
Definition: XrdOfsEvs.hh:177
Definition: XrdOfsEvs.hh:130
XrdOfsEvsMsg * msgFirst
Definition: XrdOfsEvs.hh:172
Definition: XrdOucProg.hh:37
Definition: XrdSysPthread.hh:405
XrdSysMutex qMut
Definition: XrdOfsEvs.hh:170
void Notify(Event eNum, XrdOfsEvsInfo &Info)
Definition: XrdOucEnv.hh:41
Definition: XrdOfsEvs.hh:129
int numMax
Definition: XrdOfsEvs.hh:179
int Start(XrdSysError *eobj)
Definition: XrdOfsEvs.hh:131
XrdOfsEvsMsg * getMsg(int bigmsg)
XrdOucEnv * Env1
Definition: XrdOfsEvs.hh:77
Definition: XrdOfsEvs.hh:50
static XrdOfsEvsFormat MsgFmt[XrdOfsEvs::nCount]
Definition: XrdOfsEvs.hh:163
long long FSize()
Definition: XrdOfsEvs.hh:52
mode_t theFMode
Definition: XrdOfsEvs.hh:80
Definition: XrdOfsEvs.hh:46
evArg
Definition: XrdOfsEvs.hh:50
Fmt
Definition: XrdSysTrace.hh:42
Definition: XrdOfsEvs.hh:127
Definition: XrdOfsEvs.hh:128
Definition: XrdOfsEvs.hh:125
Definition: XrdMacaroonsHandler.hh:18
XrdSysMutex fMut
Definition: XrdOfsEvs.hh:174
int maxSmsg()
Definition: XrdOfsEvs.hh:141
static const int maxMsgSize
Definition: XrdOfsEvs.hh:137
int Enabled(Event theEvents)
Definition: XrdOfsEvs.hh:139
pthread_t tid
Definition: XrdOfsEvs.hh:165
Definition: XrdOfsEvs.hh:133
void retMsg(XrdOfsEvsMsg *tp)
char * theTarget
Definition: XrdOfsEvs.hh:166
void Set(evArg aNum, const char *aVal)
Definition: XrdOfsEvs.hh:56
int maxMax
Definition: XrdOfsEvs.hh:180
int numMin
Definition: XrdOfsEvs.hh:181
Definition: XrdOfsEvs.hh:127
Definition: XrdOfsEvs.hh:126