xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ()
 
uint32_t GetSID ()
 
void InitSession (XrdSsiServReal *servP, const char *sName, int uent, bool hold, bool newSID=false)
 
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 ()
 
bool Unprovision ()
 
int XeqEvent (XrdCl::XRootDStatus *status, XrdCl::AnyObject **respP)
 
void XeqEvFin ()
 
 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 ()
 
 ~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 sessID
 
uint32_t nextTID
 
uint32_t alocLeft
 
int16_t uEnt
 
bool isHeld
 
bool inOpen
 
bool noReuse
 

Additional Inherited Members

- Static Public Member Functions inherited from XrdCl::ResponseHandler
static ResponseHandlerWrap (std::function< void(XRootDStatus &, AnyObject &)> func)
 
static ResponseHandlerWrap (std::function< void(XRootDStatus *, AnyObject *)> func)
 
- Protected Attributes inherited from XrdSsiEvent
char tident [24]
 

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.

uint32_t XrdSsiSessReal::GetSID ( )
inline

References sessID.

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

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().

bool XrdSsiSessReal::Unprovision ( )
int XrdSsiSessReal::XeqEvent ( XrdCl::XRootDStatus status,
XrdCl::AnyObject **  respP 
)
virtual

Implements XrdSsiEvent.

void XrdSsiSessReal::XeqEvFin ( )
inlinevirtual

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().

uint32_t XrdSsiSessReal::sessID
private

Referenced by GetSID().

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: