xrootd
Loading...
Searching...
No Matches
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::XrdSsiSessReal ( XrdSsiServReal servP,
const char *  sName,
int  uent,
bool  hold = false 
)
inline

References InitSession().

◆ ~XrdSsiSessReal()

XrdSsiSessReal::~XrdSsiSessReal ( )

Member Function Documentation

◆ GetKey()

const char * XrdSsiSessReal::GetKey ( )
inline

References resKey.

◆ GetSID()

uint32_t XrdSsiSessReal::GetSID ( )
inline

References sessID.

◆ InitSession()

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

Referenced by XrdSsiSessReal().

◆ Lock()

void XrdSsiSessReal::Lock ( )
inline

References XrdSsiMutex::Lock(), and sessMutex.

◆ MutexP()

XrdSsiMutex * XrdSsiSessReal::MutexP ( )
inline

References sessMutex.

◆ NewTask()

XrdSsiTaskReal * XrdSsiSessReal::NewTask ( XrdSsiRequest reqP)
private

◆ Provision()

bool XrdSsiSessReal::Provision ( XrdSsiRequest reqP,
const char *  epURL 
)

◆ RelTask()

void XrdSsiSessReal::RelTask ( XrdSsiTaskReal tP)
private

◆ Run()

bool XrdSsiSessReal::Run ( XrdSsiRequest reqP)

◆ SetKey()

void XrdSsiSessReal::SetKey ( const char *  key)
inline

References resKey.

◆ Shutdown()

void XrdSsiSessReal::Shutdown ( XrdCl::XRootDStatus epStatus,
bool  onClose 
)
private

◆ TaskFinished()

void XrdSsiSessReal::TaskFinished ( XrdSsiTaskReal tP)

◆ UnHold()

void XrdSsiSessReal::UnHold ( bool  cleanup = true)

◆ UnLock()

void XrdSsiSessReal::UnLock ( )
inline

References sessMutex, and XrdSsiMutex::UnLock().

◆ Unprovision()

bool XrdSsiSessReal::Unprovision ( )

◆ XeqEvent()

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

Implements XrdSsiEvent.

◆ XeqEvFin()

void XrdSsiSessReal::XeqEvFin ( )
inlinevirtual

Implements XrdSsiEvent.

Member Data Documentation

◆ alocLeft

uint32_t XrdSsiSessReal::alocLeft
private

◆ attBase

XrdSsiTaskReal* XrdSsiSessReal::attBase
private

◆ epFile

XrdCl::File XrdSsiSessReal::epFile

◆ freeTask

XrdSsiTaskReal* XrdSsiSessReal::freeTask
private

◆ inOpen

bool XrdSsiSessReal::inOpen
private

◆ isHeld

bool XrdSsiSessReal::isHeld
private

◆ myService

XrdSsiServReal* XrdSsiSessReal::myService
private

◆ nextSess

XrdSsiSessReal* XrdSsiSessReal::nextSess

◆ nextTID

uint32_t XrdSsiSessReal::nextTID
private

◆ noReuse

bool XrdSsiSessReal::noReuse
private

◆ requestP

XrdSsiRequest* XrdSsiSessReal::requestP
private

◆ resKey

char* XrdSsiSessReal::resKey
private

Referenced by GetKey(), and SetKey().

◆ sessID

uint32_t XrdSsiSessReal::sessID
private

Referenced by GetSID().

◆ sessMutex

XrdSsiMutex XrdSsiSessReal::sessMutex
private

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

◆ sessName

char* XrdSsiSessReal::sessName
private

◆ sessNode

char* XrdSsiSessReal::sessNode
private

◆ uEnt

int16_t XrdSsiSessReal::uEnt
private

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