#include <XrdSsiSessReal.hh>
Public Member Functions | |
const char * | GetKey () |
void | InitSession (XrdSsiServReal *servP, const char *sName, int uent, bool hold) |
void | Lock () |
XrdSsiMutex * | MutexP () |
bool | Provision (XrdSsiRequest *reqP, const char *epURL) |
bool | Run (XrdSsiRequest *reqP) |
void | SetKey (const char *key) |
void | TaskFinished (XrdSsiTaskReal *tP) |
void | UnHold (bool cleanup=true) |
void | UnLock () |
void | Unprovision () |
bool | XeqEvent (XrdCl::XRootDStatus *status, XrdCl::AnyObject **respP) |
XrdSsiSessReal (XrdSsiServReal *servP, const char *sName, int uent, bool hold=false) | |
~XrdSsiSessReal () | |
Public Attributes | |
XrdSsiSessReal * | nextSess |
XrdCl::File | epFile |
Private Member Functions | |
XrdSsiTaskReal * | NewTask (XrdSsiRequest *reqP) |
void | RelTask (XrdSsiTaskReal *tP) |
void | Shutdown (XrdCl::XRootDStatus &epStatus, bool onClose) |
Private Attributes | |
XrdSsiMutex | sessMutex |
XrdSsiServReal * | myService |
XrdSsiTaskReal * | attBase |
XrdSsiTaskReal * | freeTask |
XrdSsiRequest * | requestP |
char * | resKey |
char * | sessName |
char * | sessNode |
uint32_t | nextTID |
uint32_t | alocLeft |
int16_t | uEnt |
bool | isHeld |
bool | inOpen |
bool | noReuse |
XrdSsiSessReal::XrdSsiSessReal | ( | XrdSsiServReal * | servP, | |
const char * | sName, | |||
int | uent, | |||
bool | hold = false | |||
) | [inline] |
References InitSession().
XrdSsiSessReal::~XrdSsiSessReal | ( | ) |
const char* XrdSsiSessReal::GetKey | ( | ) | [inline] |
References resKey.
void XrdSsiSessReal::InitSession | ( | XrdSsiServReal * | servP, | |
const char * | sName, | |||
int | uent, | |||
bool | hold | |||
) |
Referenced by XrdSsiSessReal().
void XrdSsiSessReal::Lock | ( | ) | [inline] |
References XrdSsiMutex::Lock(), and sessMutex.
XrdSsiMutex* XrdSsiSessReal::MutexP | ( | ) | [inline] |
References sessMutex.
XrdSsiTaskReal* XrdSsiSessReal::NewTask | ( | XrdSsiRequest * | reqP | ) | [private] |
bool XrdSsiSessReal::Provision | ( | XrdSsiRequest * | reqP, | |
const char * | epURL | |||
) |
void XrdSsiSessReal::RelTask | ( | XrdSsiTaskReal * | tP | ) | [private] |
bool XrdSsiSessReal::Run | ( | XrdSsiRequest * | reqP | ) |
void XrdSsiSessReal::SetKey | ( | const char * | key | ) | [inline] |
References resKey.
void XrdSsiSessReal::Shutdown | ( | XrdCl::XRootDStatus & | epStatus, | |
bool | onClose | |||
) | [private] |
void XrdSsiSessReal::TaskFinished | ( | XrdSsiTaskReal * | tP | ) |
void XrdSsiSessReal::UnHold | ( | bool | cleanup = true |
) |
void XrdSsiSessReal::UnLock | ( | ) | [inline] |
References sessMutex, and XrdSsiMutex::UnLock().
void XrdSsiSessReal::Unprovision | ( | ) |
bool XrdSsiSessReal::XeqEvent | ( | XrdCl::XRootDStatus * | status, | |
XrdCl::AnyObject ** | respP | |||
) | [virtual] |
Implements XrdSsiEvent.
uint32_t XrdSsiSessReal::alocLeft [private] |
XrdSsiTaskReal* XrdSsiSessReal::attBase [private] |
XrdSsiTaskReal* XrdSsiSessReal::freeTask [private] |
bool XrdSsiSessReal::inOpen [private] |
bool XrdSsiSessReal::isHeld [private] |
XrdSsiServReal* XrdSsiSessReal::myService [private] |
uint32_t XrdSsiSessReal::nextTID [private] |
bool XrdSsiSessReal::noReuse [private] |
XrdSsiRequest* XrdSsiSessReal::requestP [private] |
char* XrdSsiSessReal::resKey [private] |
XrdSsiMutex XrdSsiSessReal::sessMutex [private] |
char* XrdSsiSessReal::sessName [private] |
char* XrdSsiSessReal::sessNode [private] |
int16_t XrdSsiSessReal::uEnt [private] |