xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
XrdSsiSessReal Class Reference

#include <XrdSsiSessReal.hh>

Inheritance diagram for XrdSsiSessReal:
Inheritance graph
[legend]
Collaboration diagram for XrdSsiSessReal:
Collaboration graph
[legend]

Public Member Functions

const char * GetKey ()
 
void InitSession (XrdSsiServReal *servP, const char *sName, int uent, bool hold)
 
void Lock ()
 
XrdSsiMutexMutexP ()
 
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 Member Functions inherited from XrdSsiEvent
void AddEvent (XrdCl::XRootDStatus *st, XrdCl::AnyObject *resp)
 
void ClrEvent ()
 
virtual void DoIt ()
 
virtual void HandleResponse (XrdCl::XRootDStatus *status, XrdCl::AnyObject *response)
 
 XrdSsiEvent (const char *hName="")
 
 ~XrdSsiEvent ()
 
- Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 
- Public Member Functions inherited from XrdCl::ResponseHandler
virtual ~ResponseHandler ()
 
virtual void HandleResponseWithHosts (XRootDStatus *status, AnyObject *response, HostList *hostList)
 

Public Attributes

XrdSsiSessRealnextSess
 
XrdCl::File epFile
 
- Public Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 

Private Member Functions

XrdSsiTaskRealNewTask (XrdSsiRequest *reqP)
 
void RelTask (XrdSsiTaskReal *tP)
 
void Shutdown (XrdCl::XRootDStatus &epStatus, bool onClose)
 

Private Attributes

XrdSsiMutex sessMutex
 
XrdSsiServRealmyService
 
XrdSsiTaskRealattBase
 
XrdSsiTaskRealfreeTask
 
XrdSsiRequestrequestP
 
char * resKey
 
char * sessName
 
char * sessNode
 
uint32_t nextTID
 
uint32_t alocLeft
 
int16_t uEnt
 
bool isHeld
 
bool inOpen
 
bool noReuse
 

Additional Inherited Members

- Protected Attributes inherited from XrdSsiEvent
pthread_t myCaller
 

Constructor & Destructor Documentation

XrdSsiSessReal::XrdSsiSessReal ( XrdSsiServReal servP,
const char *  sName,
int  uent,
bool  hold = false 
)
inline

References InitSession().

XrdSsiSessReal::~XrdSsiSessReal ( )

Member Function Documentation

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.

Member Data Documentation

uint32_t XrdSsiSessReal::alocLeft
private
XrdSsiTaskReal* XrdSsiSessReal::attBase
private
XrdCl::File XrdSsiSessReal::epFile
XrdSsiTaskReal* XrdSsiSessReal::freeTask
private
bool XrdSsiSessReal::inOpen
private
bool XrdSsiSessReal::isHeld
private
XrdSsiServReal* XrdSsiSessReal::myService
private
XrdSsiSessReal* XrdSsiSessReal::nextSess
uint32_t XrdSsiSessReal::nextTID
private
bool XrdSsiSessReal::noReuse
private
XrdSsiRequest* XrdSsiSessReal::requestP
private
char* XrdSsiSessReal::resKey
private

Referenced by GetKey(), and SetKey().

XrdSsiMutex XrdSsiSessReal::sessMutex
private

Referenced by Lock(), MutexP(), and UnLock().

char* XrdSsiSessReal::sessName
private
char* XrdSsiSessReal::sessNode
private
int16_t XrdSsiSessReal::uEnt
private

The documentation for this class was generated from the following file: