xrootd
XrdNetCmsNotify.hh
Go to the documentation of this file.
1 #ifndef __NETCMSNOTIFY_HH
2 #define __NETCMSNOTIFY_HH
3 /******************************************************************************/
4 /* */
5 /* X r d N e t C m s N o t i f y . h h */
6 /* */
7 /* (c) 2010 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /******************************************************************************/
12 
13 // $Id$
14 
15 
16 class XrdNetMsg;
17 class XrdSysError;
18 
20 {
21 public:
22 
23 int Gone(const char *Path, int isPfn=1);
24 
25 int Have(const char *Path, int isPfn=1);
26 
27 static const int isServ = 0x0001;
28 static const int noPace = 0x0002;
29 
30  XrdNetCmsNotify(XrdSysError *erp, const char *aPath,
31  const char *iName, int Opts=0);
33 
34 private:
35 int Send(const char *Buff, int Blen);
36 
39 char *destPath;
40 int Pace;
41 };
42 #endif