XrdNetCmsNotify.hh

Go to the documentation of this file.
00001 #ifndef __NETCMSNOTIFY_HH
00002 #define __NETCMSNOTIFY_HH
00003 /******************************************************************************/
00004 /*                                                                            */
00005 /*                    X r d N e t C m s N o t i f y . h h                     */
00006 /*                                                                            */
00007 /* (c) 2010 by the Board of Trustees of the Leland Stanford, Jr., University  */
00008 /*                            All Rights Reserved                             */
00009 /*   Produced by Andrew Hanushevsky for Stanford University under contract    */
00010 /*              DE-AC02-76-SFO0515 with the Department of Energy              */
00011 /******************************************************************************/
00012 
00013 //       $Id: XrdNetCmsNotify.hh 35287 2010-09-14 21:19:35Z ganis $
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

Generated on Tue Jul 5 14:46:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1