XRootD
XrdSsiRRAgent Class Reference

#include <XrdSsiRRAgent.hh>

+ Collaboration diagram for XrdSsiRRAgent:

Static Public Member Functions

static void Alert (XrdSsiRequest &reqR, XrdSsiRespInfoMsg &aMsg)
 
static void CleanUp (XrdSsiRequest &reqR)
 
static void Dispose (XrdSsiRequest &reqR)
 
static XrdSsiErrInfoErrInfoRef (XrdSsiRequest *rP)
 
static bool isaRetry (XrdSsiRequest *rP, bool reset=false)
 
static void onServer (XrdSsiRequest *rP)
 
static XrdSsiRequestRequest (XrdSsiResponder *rP)
 
static void ResetResponder (XrdSsiResponder *rP)
 
static XrdSsiRespInfoRespP (XrdSsiRequest *rP)
 
static void SetMutex (XrdSsiRequest *rP, XrdSsiMutex *mP)
 
static void SetNode (XrdSsiRequest *rP, const char *name)
 

Detailed Description

Definition at line 37 of file XrdSsiRRAgent.hh.

Member Function Documentation

◆ Alert()

static void XrdSsiRRAgent::Alert ( XrdSsiRequest reqR,
XrdSsiRespInfoMsg aMsg 
)
inlinestatic

Definition at line 41 of file XrdSsiRRAgent.hh.

42  {reqR.Alert(aMsg);}
virtual void Alert(XrdSsiRespInfoMsg &aMsg)
Send or receive a server generated alert.

References XrdSsiRequest::Alert().

Referenced by XrdSsiTaskReal::XeqEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CleanUp()

static void XrdSsiRRAgent::CleanUp ( XrdSsiRequest reqR)
inlinestatic

Definition at line 44 of file XrdSsiRRAgent.hh.

44 {reqR.CleanUp();}

◆ Dispose()

static void XrdSsiRRAgent::Dispose ( XrdSsiRequest reqR)
inlinestatic

Definition at line 46 of file XrdSsiRRAgent.hh.

46 {reqR.Dispose();}

◆ ErrInfoRef()

static XrdSsiErrInfo& XrdSsiRRAgent::ErrInfoRef ( XrdSsiRequest rP)
inlinestatic

Definition at line 48 of file XrdSsiRRAgent.hh.

48 {return rP->errInfo;}

Referenced by XrdSsiTaskReal::XeqEvent().

+ Here is the caller graph for this function:

◆ isaRetry()

static bool XrdSsiRRAgent::isaRetry ( XrdSsiRequest rP,
bool  reset = false 
)
inlinestatic

Definition at line 50 of file XrdSsiRRAgent.hh.

51  {if (rP->flags & XrdSsiRequest::isaRetry)
52  {if (reset)
53  rP->flags &= ~XrdSsiRequest::isaRetry;
54  return true;
55  }
56  return false;
57  }
static bool isaRetry(XrdSsiRequest *rP, bool reset=false)

Referenced by XrdSsiSessReal::Provision().

+ Here is the caller graph for this function:

◆ onServer()

static void XrdSsiRRAgent::onServer ( XrdSsiRequest rP)
inlinestatic

Definition at line 59 of file XrdSsiRRAgent.hh.

59 {rP->onClient = false;}

◆ Request()

static XrdSsiRequest* XrdSsiRRAgent::Request ( XrdSsiResponder rP)
inlinestatic

Definition at line 61 of file XrdSsiRRAgent.hh.

61 {return rP->reqP;}

Referenced by XrdSsiTaskReal::SendRequest().

+ Here is the caller graph for this function:

◆ ResetResponder()

static void XrdSsiRRAgent::ResetResponder ( XrdSsiResponder rP)
inlinestatic

Definition at line 68 of file XrdSsiRRAgent.hh.

69  {rP->spMutex.Lock();
70  rP->reqP = 0;
71  rP->spMutex.UnLock();
72  }

References XrdSsiMutex::Lock(), and XrdSsiMutex::UnLock().

Referenced by XrdSsiTaskReal::Finished().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RespP()

static XrdSsiRespInfo* XrdSsiRRAgent::RespP ( XrdSsiRequest rP)
inlinestatic

Definition at line 63 of file XrdSsiRRAgent.hh.

63 {return &(rP->Resp);}

Referenced by XrdSsiFileReq::Read(), XrdSsiFileReq::Send(), and XrdSsiFileReq::WantResponse().

+ Here is the caller graph for this function:

◆ SetMutex()

static void XrdSsiRRAgent::SetMutex ( XrdSsiRequest rP,
XrdSsiMutex mP 
)
inlinestatic

Definition at line 74 of file XrdSsiRRAgent.hh.

75  {rP->rrMutex = mP;}

Referenced by PostError::PostError().

+ Here is the caller graph for this function:

◆ SetNode()

static void XrdSsiRRAgent::SetNode ( XrdSsiRequest rP,
const char *  name 
)
inlinestatic

Definition at line 65 of file XrdSsiRRAgent.hh.

66  {rP->epNode = name;}

Referenced by XrdSsiTaskReal::SendRequest().

+ Here is the caller graph for this function:

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