|
xrootd
|
#include <XrdCmsReq.hh>

Public Member Functions | |
| int | Advisory () |
| void | Reply_Error (const char *emsg, int emsglen=0) |
| void | Reply_Error (const char *ecode, const char *emsg, int emsglen=0) |
| void | Reply_Error (int ecode, const char *emsg, int emsglen=0) |
| void | Reply_OK () |
| void | Reply_OK (const char *data, int datalen=0) |
| void | Reply_OK (struct stat &buf) |
| void | Reply_Redirect (const char *sname, const char *logincgi=0, const char *opencgi=0) |
| void | Reply_Redirect (const char *sname, int port, const char *logincgi=0, const char *opencgi=0) |
| void | Reply_Wait (int sec) |
| XrdCmsReq * | Reply_WaitResp (int sec=0) |
| XrdCmsReq (XrdCmsNode *nP, unsigned int id, char adv=0) | |
| XrdCmsReq (XrdCmsReq *rP, unsigned int rn) | |
| ~XrdCmsReq () | |
Private Member Functions | |
| int | StatGen (struct stat &sbuf, char *xbuf) |
| void | noReply () |
| void | Reply (int respCode, unsigned int respVal, const char *respData=0, int respLen=0, struct iovec *iov=0, int iovnum=0) |
Private Attributes | |
| XrdCmsNode * | NodeP |
| unsigned int | ReqID |
| int | ReqNins |
| short | ReqNnum |
| char | ReqAdv |
| XrdCmsReq::XrdCmsReq | ( | XrdCmsNode * | nP, |
| unsigned int | id, | ||
| char | adv = 0 |
||
| ) |
References XrdCmsNode::getSlot(), and XrdCmsNode::Inst().
| XrdCmsReq::XrdCmsReq | ( | XrdCmsReq * | rP, |
| unsigned int | rn | ||
| ) |
| XrdCmsReq::~XrdCmsReq | ( | ) | [inline] |
| int XrdCmsReq::Advisory | ( | ) | [inline] |
References ReqAdv.
| void XrdCmsReq::noReply | ( | ) | [private] |
References XrdSysError::Emsg(), and XrdCms::Say.
| void XrdCmsReq::Reply | ( | int | respCode, |
| unsigned int | respVal, | ||
| const char * | respData = 0, |
||
| int | respLen = 0, |
||
| struct iovec * | iov = 0, |
||
| int | iovnum = 0 |
||
| ) | [private] |
| void XrdCmsReq::Reply_Error | ( | const char * | emsg, |
| int | emsglen = 0 |
||
| ) |
References XrdCms::kYR_EINVAL, and XrdCms::kYR_error.
Referenced by XrdCmsXmiReq::processReqQ(), and XrdCmsXmiReq::processStgQ().
| void XrdCmsReq::Reply_Error | ( | const char * | ecode, |
| const char * | emsg, | ||
| int | emsglen = 0 |
||
| ) |
| void XrdCmsReq::Reply_Error | ( | int | ecode, |
| const char * | emsg, | ||
| int | emsglen = 0 |
||
| ) |
| void XrdCmsReq::Reply_OK | ( | ) |
References XrdCms::kYR_data.
| void XrdCmsReq::Reply_OK | ( | const char * | data, |
| int | datalen = 0 |
||
| ) |
References XrdCms::kYR_data.
| void XrdCmsReq::Reply_OK | ( | struct stat & | buf | ) |
| void XrdCmsReq::Reply_Redirect | ( | const char * | sname, |
| const char * | logincgi = 0, |
||
| const char * | opencgi = 0 |
||
| ) |
| void XrdCmsReq::Reply_Redirect | ( | const char * | sname, |
| int | port, | ||
| const char * | logincgi = 0, |
||
| const char * | opencgi = 0 |
||
| ) |
References iovec::iov_base, iovec::iov_len, and XrdCms::kYR_redirect.
| void XrdCmsReq::Reply_Wait | ( | int | sec | ) |
References XrdCms::kYR_wait.
| XrdCmsReq * XrdCmsReq::Reply_WaitResp | ( | int | sec = 0 | ) |
References XrdCms::kYR_waitresp, XrdSysMutex::Lock(), and XrdSysMutex::UnLock().
Referenced by XrdCmsXmiReq::Qit().
| int XrdCmsReq::StatGen | ( | struct stat & | sbuf, |
| char * | xbuf | ||
| ) | [private] |
XrdCmsNode* XrdCmsReq::NodeP [private] |
char XrdCmsReq::ReqAdv [private] |
Referenced by Advisory().
unsigned int XrdCmsReq::ReqID [private] |
int XrdCmsReq::ReqNins [private] |
Referenced by XrdCmsReq().
short XrdCmsReq::ReqNnum [private] |
Referenced by XrdCmsReq().
1.8.0