00001 #ifndef __NETCMSNOTIFY_HH
00002 #define __NETCMSNOTIFY_HH
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 class XrdNetMsg;
00017 class XrdSysError;
00018
00019 class XrdNetCmsNotify
00020 {
00021 public:
00022
00023 int Gone(const char *Path, int isPfn=1);
00024
00025 int Have(const char *Path, int isPfn=1);
00026
00027 static const int isServ = 0x0001;
00028 static const int noPace = 0x0002;
00029
00030 XrdNetCmsNotify(XrdSysError *erp, const char *aPath,
00031 const char *iName, int Opts=0);
00032 ~XrdNetCmsNotify();
00033
00034 private:
00035 int Send(const char *Buff, int Blen);
00036
00037 XrdSysError *eDest;
00038 XrdNetMsg *xMsg;
00039 char *destPath;
00040 int Pace;
00041 };
00042 #endif