#include <XrdClientAbs.hh>
Inheritance diagram for XrdClientAbs:
Public Member Functions | |
XrdClientAbs (XrdClientCallback *XrdCcb=0, void *XrdCcbArg=0) | |
virtual bool | IsOpen_wait () |
void | SetParm (const char *parm, int val) |
void | SetParm (const char *parm, double val) |
XrdClientConn * | GetClientConn () const |
XrdClientUrlInfo | GetCurrentUrl () |
ServerResponseHeader * | LastServerResp () |
ServerResponseBody_Error * | LastServerError () |
bool | Query (kXR_int16 ReqCode, const kXR_char *Args, kXR_char *Resp, kXR_int32 MaxResplen) |
bool | Query (kXR_int16 ReqCode, const kXR_char *Args, kXR_char **Resp, kXR_int32 MaxResplen) |
Protected Member Functions | |
virtual bool | OpenFileWhenRedirected (char *newfhandle, bool &wasopen)=0 |
virtual bool | CanRedirOnError ()=0 |
Protected Attributes | |
XrdClientConn * | fConnModule |
char | fHandle [4] |
XrdClientCallback * | fXrdCcb |
void * | fXrdCcbArg |
Friends | |
class | XrdClientConn |
XrdClientAbs::XrdClientAbs | ( | XrdClientCallback * | XrdCcb = 0 , |
|
void * | XrdCcbArg = 0 | |||
) | [inline] |
virtual bool XrdClientAbs::CanRedirOnError | ( | ) | [protected, pure virtual] |
Implemented in XrdClient, and XrdClientAdmin.
XrdClientConn* XrdClientAbs::GetClientConn | ( | ) | const [inline] |
XrdClientUrlInfo XrdClientAbs::GetCurrentUrl | ( | ) |
virtual bool XrdClientAbs::IsOpen_wait | ( | ) | [inline, virtual] |
Reimplemented in XrdClient.
struct ServerResponseBody_Error* XrdClientAbs::LastServerError | ( | ) |
struct ServerResponseHeader* XrdClientAbs::LastServerResp | ( | ) |
virtual bool XrdClientAbs::OpenFileWhenRedirected | ( | char * | newfhandle, | |
bool & | wasopen | |||
) | [protected, pure virtual] |
Implemented in XrdClient, and XrdClientAdmin.
bool XrdClientAbs::Query | ( | kXR_int16 | ReqCode, | |
const kXR_char * | Args, | |||
kXR_char ** | Resp, | |||
kXR_int32 | MaxResplen | |||
) |
ReqCode | request code | |
Args | arguments | |
Resp | pointer to a preallocated buffer or a pointer to 0 if a sufficiently large buffer should be allocated automagically, in which case the buffer needs to be freed with free() | |
MaxResplen | size of the buffer or 0 for automatic allocation |
bool XrdClientAbs::Query | ( | kXR_int16 | ReqCode, | |
const kXR_char * | Args, | |||
kXR_char * | Resp, | |||
kXR_int32 | MaxResplen | |||
) |
ReqCode | request code | |
Args | arguments | |
Resp | a prealocated buffer | |
MaxResplen | size of the buffer |
void XrdClientAbs::SetParm | ( | const char * | parm, | |
double | val | |||
) |
void XrdClientAbs::SetParm | ( | const char * | parm, | |
int | val | |||
) |
friend class XrdClientConn [friend] |
XrdClientConn* XrdClientAbs::fConnModule [protected] |
char XrdClientAbs::fHandle[4] [protected] |
XrdClientCallback* XrdClientAbs::fXrdCcb [protected] |
void* XrdClientAbs::fXrdCcbArg [protected] |