|
xrootd
|
#include <XrdXrootdResponse.hh>

Public Member Functions | |
| const char * | ID () |
| int | Push (void *data, int dlen) |
| int | Push (void) |
| int | Send (void) |
| int | Send (const char *msg) |
| int | Send (XErrorCode ecode, const char *msg) |
| int | Send (void *data, int dlen) |
| int | Send (struct iovec *, int iovcnt, int iolen=-1) |
| int | Send (XResponseType rcode, void *data, int dlen) |
| int | Send (XResponseType rcode, int info, const char *data) |
| int | Send (int fdnum, long long offset, int dlen) |
| void | Set (XrdLink *lp) |
| void | Set (kXR_char *stream) |
| XrdLink * | theLink () |
| void | StreamID (kXR_char *sid) |
| XrdXrootdResponse (XrdXrootdResponse &rhs) | |
| XrdXrootdResponse () | |
| ~XrdXrootdResponse () | |
| XrdXrootdResponse & | operator= (const XrdXrootdResponse &rhs) |
Static Public Member Functions | |
| static int | Send (XrdXrootdReqID &ReqID, XResponseType Status, struct iovec *IOResp, int iornum, int iolen) |
Private Attributes | |
| ServerResponseHeader | Resp |
| XrdLink * | Link |
| struct iovec | RespIO [3] |
| char | trsid [8] |
Static Private Attributes | |
| static const char * | TraceID = "Response" |
| XrdXrootdResponse::XrdXrootdResponse | ( | XrdXrootdResponse & | rhs | ) | [inline] |
References Link, Resp, Set(), and ServerResponseHeader::streamid.
| XrdXrootdResponse::XrdXrootdResponse | ( | ) | [inline] |
References iovec::iov_base, iovec::iov_len, Link, Resp, RespIO, and trsid.
| XrdXrootdResponse::~XrdXrootdResponse | ( | ) | [inline] |
| const char* XrdXrootdResponse::ID | ( | void | ) | [inline] |
References trsid.
Referenced by XrdXrootdProtocol::do_Prepare(), XrdXrootdProtocol::fsError(), and XrdXrootdCallBack::sendResp().
| XrdXrootdResponse& XrdXrootdResponse::operator= | ( | const XrdXrootdResponse & | rhs | ) | [inline] |
References Link, Resp, Set(), and ServerResponseHeader::streamid.
| int XrdXrootdResponse::Push | ( | void * | data, |
| int | dlen | ||
| ) |
References iovec::iov_base, iovec::iov_len, Link, RespIO, XrdLink::Send(), XrdLink::setEtext(), and TRACES.
| int XrdXrootdResponse::Push | ( | void | ) |
References Link, XrdLink::Send(), XrdLink::setEtext(), and TRACES.
| int XrdXrootdResponse::Send | ( | struct iovec * | IOResp, |
| int | iovcnt, | ||
| int | iolen = -1 |
||
| ) |
References ServerResponseHeader::dlen, iovec::iov_base, iovec::iov_len, kXR_ok, Link, Resp, RespIO, XrdLink::Send(), XrdLink::setEtext(), ServerResponseHeader::status, and TRACES.
| int XrdXrootdResponse::Send | ( | void | ) |
References ServerResponseHeader::dlen, kXR_ok, Link, Resp, XrdLink::Send(), XrdLink::setEtext(), ServerResponseHeader::status, and TRACES.
Referenced by XrdXrootdProtocol::do_Admin(), XrdXrootdProtocol::do_Auth(), XrdXrootdProtocol::do_Bind(), XrdXrootdProtocol::do_Chmod(), XrdXrootdProtocol::do_CKsum(), XrdXrootdProtocol::do_Close(), XrdXrootdProtocol::do_Dirlist(), XrdXrootdProtocol::do_Endsess(), XrdXrootdProtocol::do_Getfile(), XrdXrootdProtocol::do_Locate(), XrdXrootdProtocol::do_Login(), XrdXrootdProtocol::do_Mkdir(), XrdXrootdProtocol::do_Mv(), XrdXrootdProtocol::do_Offload(), XrdXrootdProtocol::do_Open(), XrdXrootdProtocol::do_Ping(), XrdXrootdProtocol::do_Prepare(), XrdXrootdProtocol::do_Protocol(), XrdXrootdProtocol::do_Putfile(), XrdXrootdProtocol::do_Qconf(), XrdXrootdProtocol::do_Qfh(), XrdXrootdProtocol::do_Qopaque(), XrdXrootdProtocol::do_Qspace(), XrdXrootdProtocol::do_Query(), XrdXrootdProtocol::do_Qxattr(), XrdXrootdProtocol::do_Read(), XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_ReadNone(), XrdXrootdProtocol::do_ReadV(), XrdXrootdProtocol::do_Rm(), XrdXrootdProtocol::do_Rmdir(), XrdXrootdProtocol::do_Set(), XrdXrootdProtocol::do_Set_Mon(), XrdXrootdProtocol::do_Stat(), XrdXrootdProtocol::do_Statx(), XrdXrootdProtocol::do_Sync(), XrdXrootdProtocol::do_Truncate(), XrdXrootdProtocol::do_Write(), XrdXrootdProtocol::do_WriteAll(), XrdXrootdProtocol::do_WriteCont(), XrdXrootdProtocol::do_WriteNone(), XrdXrootdAioReq::endRead(), XrdXrootdAioReq::endWrite(), XrdXrootdProtocol::fsError(), XrdXrootdProtocol::getBuff(), XrdXrootdProtocol::Process(), XrdXrootdProtocol::Process2(), XrdXrootdProtocol::rpEmsg(), XrdXrootdJob::Schedule(), XrdXrootdAioReq::sendError(), XrdXrootdCallBack::sendResp(), XrdXrootdJob::sendResult(), XrdXrootdJob2Do::sendResult(), XrdXrootdStats::Stats(), and XrdXrootdProtocol::vpEmsg().
| int XrdXrootdResponse::Send | ( | XResponseType | rcode, |
| void * | data, | ||
| int | dlen | ||
| ) |
| int XrdXrootdResponse::Send | ( | int | fdnum, |
| long long | offset, | ||
| int | dlen | ||
| ) |
| int XrdXrootdResponse::Send | ( | const char * | msg | ) |
References ServerResponseHeader::dlen, iovec::iov_base, iovec::iov_len, kXR_ok, Link, Resp, RespIO, XrdLink::Send(), XrdLink::setEtext(), ServerResponseHeader::status, and TRACES.
| int XrdXrootdResponse::Send | ( | XResponseType | rcode, |
| int | info, | ||
| const char * | data | ||
| ) |
| int XrdXrootdResponse::Send | ( | XErrorCode | ecode, |
| const char * | msg | ||
| ) |
| int XrdXrootdResponse::Send | ( | void * | data, |
| int | dlen | ||
| ) |
References ServerResponseHeader::dlen, iovec::iov_base, iovec::iov_len, kXR_ok, Link, Resp, RespIO, XrdLink::Send(), XrdLink::setEtext(), ServerResponseHeader::status, and TRACES.
| int XrdXrootdResponse::Send | ( | XrdXrootdReqID & | ReqID, |
| XResponseType | Status, | ||
| struct iovec * | IOResp, | ||
| int | iornum, | ||
| int | iolen | ||
| ) | [static] |
| void XrdXrootdResponse::Set | ( | kXR_char * | stream | ) |
| void XrdXrootdResponse::Set | ( | XrdLink * | lp | ) | [inline] |
| void XrdXrootdResponse::StreamID | ( | kXR_char * | sid | ) | [inline] |
References Resp, and ServerResponseHeader::streamid.
Referenced by XrdXrootdJob2Do::addClient(), and XrdXrootdProtocol::do_Offload().
| XrdLink* XrdXrootdResponse::theLink | ( | ) | [inline] |
References Link.
Referenced by XrdXrootdJob2Do::addClient(), and XrdXrootdJob2Do::delClient().
XrdLink* XrdXrootdResponse::Link [private] |
Referenced by operator=(), Push(), Send(), Set(), theLink(), and XrdXrootdResponse().
ServerResponseHeader XrdXrootdResponse::Resp [private] |
Referenced by operator=(), Send(), Set(), StreamID(), and XrdXrootdResponse().
struct iovec XrdXrootdResponse::RespIO[3] [private] |
Referenced by Push(), Send(), and XrdXrootdResponse().
const char * XrdXrootdResponse::TraceID = "Response" [static, private] |
char XrdXrootdResponse::trsid[8] [private] |
Referenced by ID(), Set(), and XrdXrootdResponse().
1.7.3