#include <XrdXrootdResponse.hh>
Public Member Functions | |
const char * | ID () |
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, struct iovec *IOResp, int iornum, int iolen=-1) |
int | Send (XResponseType rcode, int info, const char *data, int dsz=-1) |
int | Send (int fdnum, long long offset, int dlen) |
int | Send (XrdOucSFVec *sfvec, int sfvnum, int dlen) |
int | Send (ServerResponseStatus &, int iLen=0) |
int | Send (ServerResponseStatus &, int iLen, void *data, int dlen) |
int | Send (ServerResponseStatus &, int iLen, struct iovec *, int iovcnt, int iolen=-1) |
void | Set (XrdLink *lp) |
void | Set (XrdXrootdTransit *tp) |
void | Set (kXR_char *stream) |
bool | isOurs () |
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 Member Functions | |
int | srsComplete (ServerResponseStatus &, int iLen, int dlen=0) |
Private Attributes | |
XrdXrootdTransit * | Bridge |
ServerResponseHeader | Resp |
XrdLink * | Link |
struct iovec | RespIO [3] |
char | trsid [8] |
Static Private Attributes | |
static const char * | TraceID |
XrdXrootdResponse::XrdXrootdResponse | ( | XrdXrootdResponse & | rhs | ) | [inline] |
References Bridge, Link, Resp, Set(), and ServerResponseHeader::streamid.
XrdXrootdResponse::~XrdXrootdResponse | ( | ) | [inline] |
const char* XrdXrootdResponse::ID | ( | void | ) | [inline] |
References trsid.
bool XrdXrootdResponse::isOurs | ( | ) | [inline] |
References Bridge.
XrdXrootdResponse& XrdXrootdResponse::operator= | ( | const XrdXrootdResponse & | rhs | ) | [inline] |
References Bridge, Link, Resp, Set(), and ServerResponseHeader::streamid.
static int XrdXrootdResponse::Send | ( | XrdXrootdReqID & | ReqID, | |
XResponseType | Status, | |||
struct iovec * | IOResp, | |||
int | iornum, | |||
int | iolen | |||
) | [static] |
int XrdXrootdResponse::Send | ( | ServerResponseStatus & | , | |
int | iLen, | |||
struct iovec * | , | |||
int | iovcnt, | |||
int | iolen = -1 | |||
) |
int XrdXrootdResponse::Send | ( | ServerResponseStatus & | , | |
int | iLen, | |||
void * | data, | |||
int | dlen | |||
) |
int XrdXrootdResponse::Send | ( | ServerResponseStatus & | , | |
int | iLen = 0 | |||
) |
int XrdXrootdResponse::Send | ( | XrdOucSFVec * | sfvec, | |
int | sfvnum, | |||
int | dlen | |||
) |
int XrdXrootdResponse::Send | ( | int | fdnum, | |
long long | offset, | |||
int | dlen | |||
) |
int XrdXrootdResponse::Send | ( | XResponseType | rcode, | |
int | info, | |||
const char * | data, | |||
int | dsz = -1 | |||
) |
int XrdXrootdResponse::Send | ( | XResponseType | rcode, | |
struct iovec * | IOResp, | |||
int | iornum, | |||
int | iolen = -1 | |||
) |
int XrdXrootdResponse::Send | ( | XResponseType | rcode, | |
void * | data, | |||
int | dlen | |||
) |
int XrdXrootdResponse::Send | ( | struct iovec * | , | |
int | iovcnt, | |||
int | iolen = -1 | |||
) |
int XrdXrootdResponse::Send | ( | void * | data, | |
int | dlen | |||
) |
int XrdXrootdResponse::Send | ( | XErrorCode | ecode, | |
const char * | msg | |||
) |
int XrdXrootdResponse::Send | ( | const char * | msg | ) |
int XrdXrootdResponse::Send | ( | void | ) |
void XrdXrootdResponse::Set | ( | kXR_char * | stream | ) |
void XrdXrootdResponse::Set | ( | XrdXrootdTransit * | tp | ) | [inline] |
References Bridge.
void XrdXrootdResponse::Set | ( | XrdLink * | lp | ) | [inline] |
References Link.
Referenced by operator=(), and XrdXrootdResponse().
int XrdXrootdResponse::srsComplete | ( | ServerResponseStatus & | , | |
int | iLen, | |||
int | dlen = 0 | |||
) | [private] |
void XrdXrootdResponse::StreamID | ( | kXR_char * | sid | ) | [inline] |
References Resp, and ServerResponseHeader::streamid.
XrdXrootdTransit* XrdXrootdResponse::Bridge [private] |
Referenced by isOurs(), operator=(), Set(), and XrdXrootdResponse().
XrdLink* XrdXrootdResponse::Link [private] |
Referenced by operator=(), Set(), theLink(), and XrdXrootdResponse().
ServerResponseHeader XrdXrootdResponse::Resp [private] |
Referenced by operator=(), StreamID(), and XrdXrootdResponse().
struct iovec XrdXrootdResponse::RespIO[3] [read, private] |
Referenced by XrdXrootdResponse().
const char* XrdXrootdResponse::TraceID [static, private] |
char XrdXrootdResponse::trsid[8] [private] |
Referenced by ID(), and XrdXrootdResponse().