#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(), XrdCmsNode::Inst(), NodeP, ReqAdv, ReqID, ReqNins, and ReqNnum.
Referenced by Reply_WaitResp().
| XrdCmsReq::XrdCmsReq | ( | XrdCmsReq * | rP, | |
| unsigned int | rn | |||
| ) |
| XrdCmsReq::~XrdCmsReq | ( | ) | [inline] |
| int XrdCmsReq::Advisory | ( | ) | [inline] |
References ReqAdv.
| void XrdCmsReq::Reply | ( | int | respCode, | |
| unsigned int | respVal, | |||
| const char * | respData = 0, |
|||
| int | respLen = 0, |
|||
| struct iovec * | iov = 0, |
|||
| int | iovnum = 0 | |||
| ) | [private] |
References XrdCms::CmsRRHdr::datalen, DEBUG, EPNAME, XrdCmsRTable::Find(), XrdCms::CmsResponse::Hdr, iovec::iov_base, iovec::iov_len, XrdCmsRTable::Lock(), XrdCms::CmsRRHdr::modifier, NodeP, noReply(), ReqID, ReqNins, ReqNnum, XrdCms::RTable, XrdCmsNode::Send(), and XrdCmsRTable::UnLock().
Referenced by Reply_Error(), Reply_OK(), Reply_Redirect(), Reply_Wait(), and Reply_WaitResp().
| void XrdCmsReq::Reply_Error | ( | const char * | emsg, | |
| int | emsglen = 0 | |||
| ) |
References XrdCms::kYR_EINVAL, XrdCms::kYR_error, and Reply().
Referenced by XrdCmsXmiReq::processReqQ(), and XrdCmsXmiReq::processStgQ().
| void XrdCmsReq::Reply_Error | ( | int | ecode, | |
| const char * | emsg, | |||
| int | emsglen = 0 | |||
| ) |
References ENETUNREACH, XrdCms::kYR_error, and Reply().
| void XrdCmsReq::Reply_Error | ( | const char * | ecode, | |
| const char * | emsg, | |||
| int | emsglen = 0 | |||
| ) |
References XrdCms::kYR_error, and Reply().
| void XrdCmsReq::Reply_OK | ( | ) |
References XrdCms::kYR_data, and Reply().
Referenced by Reply_OK().
| void XrdCmsReq::Reply_OK | ( | const char * | data, | |
| int | datalen = 0 | |||
| ) |
References XrdCms::kYR_data, and Reply().
| void XrdCmsReq::Reply_OK | ( | struct stat & | buf | ) |
References Reply_OK(), and StatGen().
| void XrdCmsReq::Reply_Redirect | ( | const char * | sname, | |
| int | port, | |||
| const char * | logincgi = 0, |
|||
| const char * | opencgi = 0 | |||
| ) |
References iovec::iov_base, iovec::iov_len, XrdCms::kYR_redirect, and Reply().
| void XrdCmsReq::Reply_Redirect | ( | const char * | sname, | |
| const char * | logincgi = 0, |
|||
| const char * | opencgi = 0 | |||
| ) |
| void XrdCmsReq::Reply_Wait | ( | int | sec | ) |
References XrdCms::kYR_wait, and Reply().
| XrdCmsReq * XrdCmsReq::Reply_WaitResp | ( | int | sec = 0 |
) |
References XrdCms::kYR_waitresp, XrdSysMutex::Lock(), NodeP, Reply(), ReqID, XrdSysMutex::UnLock(), and XrdCmsReq().
Referenced by XrdCmsXmiReq::Qit().
| int XrdCmsReq::StatGen | ( | struct stat & | sbuf, | |
| char * | xbuf | |||
| ) | [private] |
Referenced by Reply_OK().
XrdCmsNode* XrdCmsReq::NodeP [private] |
Referenced by Reply(), Reply_WaitResp(), and XrdCmsReq().
char XrdCmsReq::ReqAdv [private] |
Referenced by Advisory(), and XrdCmsReq().
unsigned int XrdCmsReq::ReqID [private] |
Referenced by Reply(), Reply_WaitResp(), and XrdCmsReq().
int XrdCmsReq::ReqNins [private] |
Referenced by Reply(), and XrdCmsReq().
short XrdCmsReq::ReqNnum [private] |
Referenced by noReply(), Reply(), and XrdCmsReq().
1.7.1