• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

XrdCmsNotify.hh

Go to the documentation of this file.
00001 #ifndef __CMS_NOTIFY_HH
00002 #define __CMS_NOTIFY_HH
00003 /******************************************************************************/
00004 /*                                                                            */
00005 /*                       X r d C m s N o t i f y . h h                        */
00006 /*                                                                            */
00007 /* (c) 2009 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: XrdCmsNotify.hh,v 1.1 2009/05/22 00:51:18 abh Exp $
00014 
00015   
00016 class XrdNetMsg;
00017 class XrdSysError;
00018 
00019 class XrdCmsNotify
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              XrdCmsNotify(XrdSysError *erp, const char *aPath,
00031                                             const char *iName, int Opts=0);
00032             ~XrdCmsNotify();
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 Wed Sep 1 2010 for xrootd by  doxygen 1.7.1