#include <XrdOlbReq.hh>

Public Member Functions | |
| void | Reply_Error (const char *emsg, int emsglen=0) |
| void | Reply_Error (const char *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_Wait (int sec) |
| XrdOlbReq * | Reply_WaitResp (int sec) |
| XrdOlbReq (XrdOlbServer *sp, XrdOlbRRQInfo *ip) | |
| XrdOlbReq (unsigned int rn, XrdOlbRRQInfo *ip) | |
| ~XrdOlbReq () | |
Private Member Functions | |
| int | StatGen (struct stat &sbuf, char *xbuf) |
| void | noReply () |
| void | Reply (struct iovec *iov, int iovnum) |
Private Attributes | |
| XrdOlbServer * | ServerP |
| XrdOlbRRQInfo * | InfoP |
| unsigned int | ReqNum |
| int | ReqSins |
| short | ReqSnum |
| XrdOlbReq::XrdOlbReq | ( | XrdOlbServer * | sp, | |
| XrdOlbRRQInfo * | ip | |||
| ) |
| XrdOlbReq::XrdOlbReq | ( | unsigned int | rn, | |
| XrdOlbRRQInfo * | ip | |||
| ) |
References InfoP, ReqNum, ReqSins, ReqSnum, XrdOlbRRQInfo::Rinst, XrdOlbRRQInfo::Rnum, and ServerP.
| XrdOlbReq::~XrdOlbReq | ( | ) | [inline] |
| void XrdOlbReq::Reply | ( | struct iovec * | iov, | |
| int | iovnum | |||
| ) | [private] |
References DEBUG, EPNAME, XrdCmsRTable::Find(), XrdOlbRRQInfo::ID, InfoP, iovec::iov_base, iovec::iov_len, XrdCmsRTable::Lock(), noReply(), ReqNum, ReqSins, ReqSnum, XrdCms::RTable, XrdOlbServer::Send(), ServerP, and XrdCmsRTable::UnLock().
Referenced by Reply_Error(), Reply_OK(), Reply_Redirect(), Reply_Wait(), and Reply_WaitResp().
| void XrdOlbReq::Reply_Error | ( | const char * | ecode, | |
| const char * | emsg, | |||
| int | emsglen = 0 | |||
| ) |
References iovec::iov_base, iovec::iov_len, and Reply().
| void XrdOlbReq::Reply_Error | ( | const char * | emsg, | |
| int | emsglen = 0 | |||
| ) |
References iovec::iov_base, iovec::iov_len, and Reply().
Referenced by XrdOlbServer::getMode(), XrdOlbXmiReq::processReqQ(), XrdOlbXmiReq::processStgQ(), and XrdOlbXmiReq::Rename().
| void XrdOlbReq::Reply_OK | ( | const char * | data, | |
| int | datalen = 0 | |||
| ) |
References iovec::iov_base, iovec::iov_len, and Reply().
| void XrdOlbReq::Reply_OK | ( | struct stat & | buf | ) |
References Reply_OK(), and StatGen().
| void XrdOlbReq::Reply_OK | ( | ) |
References iovec::iov_base, iovec::iov_len, and Reply().
Referenced by Reply_OK().
| void XrdOlbReq::Reply_Redirect | ( | const char * | sname, | |
| const char * | logincgi = 0, |
|||
| const char * | opencgi = 0 | |||
| ) |
References iovec::iov_base, iovec::iov_len, and Reply().
| void XrdOlbReq::Reply_Wait | ( | int | sec | ) |
References iovec::iov_base, iovec::iov_len, and Reply().
| XrdOlbReq * XrdOlbReq::Reply_WaitResp | ( | int | sec | ) |
References XrdOlbRRQInfo::ID, InfoP, iovec::iov_base, iovec::iov_len, XrdSysMutex::Lock(), Reply(), ServerP, XrdSysMutex::UnLock(), and XrdOlbReq().
Referenced by XrdOlbXmiReq::Qit().
| int XrdOlbReq::StatGen | ( | struct stat & | sbuf, | |
| char * | xbuf | |||
| ) | [private] |
Referenced by Reply_OK().
XrdOlbRRQInfo* XrdOlbReq::InfoP [private] |
Referenced by Reply(), Reply_WaitResp(), and XrdOlbReq().
unsigned int XrdOlbReq::ReqNum [private] |
Referenced by Reply(), and XrdOlbReq().
int XrdOlbReq::ReqSins [private] |
Referenced by Reply(), and XrdOlbReq().
short XrdOlbReq::ReqSnum [private] |
Referenced by noReply(), Reply(), and XrdOlbReq().
XrdOlbServer* XrdOlbReq::ServerP [private] |
Referenced by Reply(), Reply_WaitResp(), and XrdOlbReq().
1.7.1