#include <XrdNetCmsNotify.hh>
Public Member Functions | |
int | Gone (const char *Path, int isPfn=1) |
int | Have (const char *Path, int isPfn=1) |
XrdNetCmsNotify (XrdSysError *erp, const char *aPath, const char *iName, int Opts=0) | |
~XrdNetCmsNotify () | |
Static Public Attributes | |
static const int | isServ = 0x0001 |
static const int | noPace = 0x0002 |
Private Member Functions | |
int | Send (const char *Buff, int Blen) |
Private Attributes | |
XrdSysError * | eDest |
XrdNetMsg * | xMsg |
char * | destPath |
int | Pace |
Definition at line 19 of file XrdNetCmsNotify.hh.
XrdNetCmsNotify::XrdNetCmsNotify | ( | XrdSysError * | erp, | |
const char * | aPath, | |||
const char * | iName, | |||
int | Opts = 0 | |||
) |
Definition at line 30 of file XrdNetCmsNotify.cc.
References destPath, eDest, free(), XrdOucUtils::genPath(), XrdOucUtils::InstName(), isServ, noPace, p, Pace, strcat(), strcpy(), and xMsg.
XrdNetCmsNotify::~XrdNetCmsNotify | ( | ) |
int XrdNetCmsNotify::Gone | ( | const char * | Path, | |
int | isPfn = 1 | |||
) |
Definition at line 69 of file XrdNetCmsNotify.cc.
References n, Send(), and strcpy().
Referenced by XrdFrmPurge::PurgeFile(), XrdFrmTransfer::Throwaway(), and XrdFrmAdmin::UnlinkFile().
int XrdNetCmsNotify::Have | ( | const char * | Path, | |
int | isPfn = 1 | |||
) |
Definition at line 91 of file XrdNetCmsNotify.cc.
References n, Send(), and strcpy().
Referenced by XrdFrmTransfer::Fetch().
int XrdNetCmsNotify::Send | ( | const char * | Buff, | |
int | Blen | |||
) | [private] |
Definition at line 113 of file XrdNetCmsNotify.cc.
References ETIMEDOUT, XrdSysMutex::Lock(), Pace, XrdNetMsg::Send(), XrdSysMutex::UnLock(), XrdSysTimer::Wait(), and xMsg.
const int XrdNetCmsNotify::isServ = 0x0001 [static] |
Definition at line 27 of file XrdNetCmsNotify.hh.
Referenced by XrdFrmConfig::ConfigPaths(), and XrdNetCmsNotify().
const int XrdNetCmsNotify::noPace = 0x0002 [static] |
XrdSysError* XrdNetCmsNotify::eDest [private] |
XrdNetMsg* XrdNetCmsNotify::xMsg [private] |
Definition at line 38 of file XrdNetCmsNotify.hh.
Referenced by Send(), XrdNetCmsNotify(), and ~XrdNetCmsNotify().
char* XrdNetCmsNotify::destPath [private] |
Definition at line 39 of file XrdNetCmsNotify.hh.
Referenced by XrdNetCmsNotify(), and ~XrdNetCmsNotify().
int XrdNetCmsNotify::Pace [private] |