#include <XrdNetCmsNotify.hh>
|
static const int | isServ = 0x0001 |
|
static const int | noPace = 0x0002 |
|
Definition at line 36 of file XrdNetCmsNotify.hh.
◆ XrdNetCmsNotify()
XrdNetCmsNotify::XrdNetCmsNotify |
( |
XrdSysError * |
erp, |
|
|
const char * |
aPath, |
|
|
const char * |
iName, |
|
|
int |
Opts = 0 |
|
) |
| |
◆ ~XrdNetCmsNotify()
XrdNetCmsNotify::~XrdNetCmsNotify |
( |
| ) |
|
Definition at line 75 of file XrdNetCmsNotify.cc.
77 if (destPath) free(destPath);
78 if (xMsg)
delete xMsg;
◆ Gone()
int XrdNetCmsNotify::Gone |
( |
const char * |
Path, |
|
|
int |
isPfn = 1 |
|
) |
| |
Definition at line 85 of file XrdNetCmsNotify.cc.
87 static const int Cln = 6;
88 const char *Cmd = (isPfn ?
"gone " :
"rmdid ");
89 char theMsg[MAXPATHLEN+8];
94 if ((n = strlen(
Path)) > MAXPATHLEN)
return -ENAMETOOLONG;
95 strcpy(theMsg, Cmd); strcpy(theMsg+Cln,
Path);
96 n += Cln; theMsg[n] =
'\n';
100 return Send(theMsg, n);
References Path.
◆ Have()
int XrdNetCmsNotify::Have |
( |
const char * |
Path, |
|
|
int |
isPfn = 1 |
|
) |
| |
Definition at line 107 of file XrdNetCmsNotify.cc.
109 static const int Cln = 6;
110 const char *Cmd = (isPfn ?
"have " :
"newfn ");
111 char theMsg[MAXPATHLEN+8];
116 if ((n = strlen(
Path)) > MAXPATHLEN)
return -ENAMETOOLONG;
117 strcpy(theMsg, Cmd); strcpy(theMsg+Cln,
Path);
118 n += Cln; theMsg[n] =
'\n';
122 return Send(theMsg, n);
References Path.
◆ isServ
const int XrdNetCmsNotify::isServ = 0x0001 |
|
static |
◆ noPace
const int XrdNetCmsNotify::noPace = 0x0002 |
|
static |
The documentation for this class was generated from the following files: