xrootd
|
#include <XrdRootdProtocol.hh>
Public Member Functions | |
void | DoIt () |
XrdProtocol * | Match (XrdLink *lp) |
int | Process (XrdLink *lp) |
void | Recycle (XrdLink *lp, int x, const char *y) |
int | Stats (char *buff, int blen, int do_sync) |
XrdRootdProtocol (XrdProtocol_Config *pi, const char *pgm, const char **pap) | |
~XrdRootdProtocol () | |
Private Attributes | |
XrdScheduler * | Scheduler |
const char * | Program |
const char ** | ProgArg |
XrdSysError * | eDest |
XrdOucTrace * | XrdTrace |
int | stderrFD |
int | ReadWait |
Static Private Attributes | |
static int | Count = 0 |
static const char * | TraceID = "Rootd: " |
XrdRootdProtocol::XrdRootdProtocol | ( | XrdProtocol_Config * | pi, |
const char * | pgm, | ||
const char ** | pap | ||
) |
XrdRootdProtocol::~XrdRootdProtocol | ( | ) | [inline] |
void XrdRootdProtocol::DoIt | ( | ) | [inline, virtual] |
Implements XrdJob.
XrdProtocol * XrdRootdProtocol::Match | ( | XrdLink * | lp | ) | [virtual] |
Implements XrdProtocol.
References close, Count, XrdLink::FDnum(), XrdScheduler::Fork(), XrdLink::Name(), XrdLink::Peek(), ProgArg, Program, ReadWait, Scheduler, XrdLink::setEtext(), STDERR_FILENO, stderrFD, STDIN_FILENO, STDOUT_FILENO, and TRACEI.
int XrdRootdProtocol::Process | ( | XrdLink * | lp | ) | [inline, virtual] |
Implements XrdProtocol.
void XrdRootdProtocol::Recycle | ( | XrdLink * | lp, |
int | x, | ||
const char * | y | ||
) | [inline, virtual] |
Implements XrdProtocol.
int XrdRootdProtocol::Stats | ( | char * | buff, |
int | blen, | ||
int | do_sync | ||
) | [virtual] |
Implements XrdProtocol.
int XrdRootdProtocol::Count = 0 [static, private] |
XrdSysError* XrdRootdProtocol::eDest [private] |
Referenced by XrdRootdProtocol().
const char** XrdRootdProtocol::ProgArg [private] |
Referenced by Match(), and XrdRootdProtocol().
const char* XrdRootdProtocol::Program [private] |
Referenced by Match(), and XrdRootdProtocol().
int XrdRootdProtocol::ReadWait [private] |
Referenced by Match(), and XrdRootdProtocol().
XrdScheduler* XrdRootdProtocol::Scheduler [private] |
Referenced by Match(), and XrdRootdProtocol().
int XrdRootdProtocol::stderrFD [private] |
Referenced by Match(), and XrdRootdProtocol().
const char * XrdRootdProtocol::TraceID = "Rootd: " [static, private] |
XrdOucTrace* XrdRootdProtocol::XrdTrace [private] |
Referenced by XrdRootdProtocol().