|
xrootd
|
#include <XrdOfsTPCAuth.hh>


Public Member Functions | |
| int | Add (Facts &Args) |
| void | Del () |
| int | Expired () |
| int | Expired (const char *Dst, int cnt=1) |
| XrdOfsTPCAuth (int vTTL) | |
| ~XrdOfsTPCAuth () | |
Static Public Member Functions | |
| static int | Get (Facts &Args, XrdOfsTPCAuth **theTPC) |
| static int | RunTTL (int Init) |
Static Private Member Functions | |
| static XrdOfsTPCAuth * | Find (Facts &Args) |
Private Attributes | |
| XrdOfsTPCAuth * | Next |
| time_t | expT |
Static Private Attributes | |
| static XrdSysMutex | authMutex |
| static XrdOfsTPCAuth * | authQ = 0 |
Friends | |
| class | XrdOfsTPCJob |
| XrdOfsTPCAuth::XrdOfsTPCAuth | ( | int | vTTL | ) | [inline] |
Referenced by Get().
| XrdOfsTPCAuth::~XrdOfsTPCAuth | ( | ) | [inline] |
| int XrdOfsTPCAuth::Add | ( | XrdOfsTPC::Facts & | Args | ) |
References authMutex, authQ, XrdOfsTPCInfo::cbP, XrdOfsTPC::Facts::Dst, eMsg, expT, XrdOfsTPC::Fatal(), Find(), XrdOfsTPC::genOrg(), XrdOfsTPC::Info, XrdOfsTPC::inQ, XrdOfsTPC::Facts::Key, XrdOfsTPC::Facts::Lfn, XrdSysMutex::Lock(), Next, XrdOfsTPC::Facts::Org, XrdOfsTPCInfo::Reply(), XrdOfsTPCInfo::Set(), SFS_OK, XrdSysMutex::UnLock(), and XrdOfsTPC::Facts::Usr.
Referenced by XrdOfsTPC::Authorize().
| void XrdOfsTPCAuth::Del | ( | ) | [virtual] |
Reimplemented from XrdOfsTPC.
References authMutex, authQ, XrdOfsTPC::inQ, XrdSysMutex::Lock(), Next, XrdOfsTPC::Refs, and XrdSysMutex::UnLock().
Referenced by XrdOfsTPC::Authorize().
| int XrdOfsTPCAuth::Expired | ( | ) | [inline] |
Referenced by XrdOfsTPC::Authorize(), and RunTTL().
| int XrdOfsTPCAuth::Expired | ( | const char * | Dst, |
| int | cnt = 1 |
||
| ) |
| XrdOfsTPCAuth * XrdOfsTPCAuth::Find | ( | XrdOfsTPC::Facts & | Args | ) | [static, private] |
| int XrdOfsTPCAuth::Get | ( | XrdOfsTPC::Facts & | Args, |
| XrdOfsTPCAuth ** | theTPC | ||
| ) | [static] |
References authMutex, authQ, XrdOfsTPCInfo::cbP, XrdOfsTPC::Facts::Dst, eMsg, XrdOfsTPC::Facts::eRR, XrdOfsTPC::Fatal(), Find(), XrdOfsTPC::Info, XrdOfsTPC::Facts::Key, XrdOfsTPC::Facts::Lfn, XrdOfsTPC::maxTTL, Next, XrdOfsTPC::Facts::Org, XrdOfsTPC::Refs, XrdOfsTPCInfo::Reply(), XrdOfsTPCInfo::Set(), XrdOfsTPCInfo::SetCB(), SFS_ERROR, SFS_OK, SFS_STARTED, and XrdOfsTPCAuth().
Referenced by XrdOfsTPC::Authorize().
| int XrdOfsTPCAuth::RunTTL | ( | int | Init | ) | [static] |
References authMutex, authQ, XrdOfsStats::Data, XrdSysError::Emsg(), Expired(), expT, XrdSysMutex::Lock(), XrdOfsTPC::maxTTL, Next, XrdOfsStats::StatsData::numTPCexpr, XrdOfsTPC::Refs, XrdSysThread::Run(), XrdOfsStats::sdMutex, XrdSysTimer::Snooze(), XrdSysMutex::UnLock(), and XrdOfsTPCAuthttl().
Referenced by XrdOfsTPC::Start(), and XrdOfsTPCAuthttl().
friend class XrdOfsTPCJob [friend] |
XrdSysMutex XrdOfsTPCAuth::authMutex [static, private] |
XrdOfsTPCAuth * XrdOfsTPCAuth::authQ = 0 [static, private] |
time_t XrdOfsTPCAuth::expT [private] |
XrdOfsTPCAuth* XrdOfsTPCAuth::Next [private] |
1.7.6.1