#include <XrdProtLoad.hh>
List of all members.
Public Member Functions |
| void | DoIt () |
| XrdProtocol * | Match (XrdLink *) |
| int | Process (XrdLink *lp) |
| void | Recycle (XrdLink *lp, int ctime, const char *txt) |
| int | Stats (char *buff, int blen, int do_sync=0) |
| | XrdProtLoad (int port=-1) |
| | ~XrdProtLoad () |
Static Public Member Functions |
| static void | Init (XrdSysError *eP, XrdOucTrace *tP) |
| static int | Load (const char *lname, const char *pname, char *parms, XrdProtocol_Config *pi) |
| static int | Port (const char *lname, const char *pname, char *parms, XrdProtocol_Config *pi) |
| static int | Statistics (char *buff, int blen, int do_sync=0) |
Static Public Attributes |
| static const int | ProtoMax = 8 |
Static Private Member Functions |
| static XrdProtocol * | getProtocol (const char *lname, const char *pname, char *parms, XrdProtocol_Config *pi) |
| static int | getProtocolPort (const char *lname, const char *pname, char *parms, XrdProtocol_Config *pi) |
Private Attributes |
| int | myPort |
Static Private Attributes |
| static XrdSysError * | XrdLog = 0 |
| static XrdOucTrace * | XrdTrace = 0 |
| static char * | ProtName [ProtoMax] = {0} |
| static XrdProtocol * | Protocol [ProtoMax] = {0} |
| static int | ProtPort [ProtoMax] = {0} |
| static XrdProtocol * | ProtoWAN [ProtoMax] = {0} |
| static int | ProtoCnt = 0 |
| static int | ProtWCnt = 0 |
| static char * | liblist [ProtoMax] |
| static XrdSysPlugin * | libhndl [ProtoMax] |
| static int | libcnt = 0 |
Constructor & Destructor Documentation
| XrdProtLoad::XrdProtLoad |
( |
int |
port = -1 | ) |
|
| XrdProtLoad::~XrdProtLoad |
( |
| ) |
|
Member Function Documentation
| void XrdProtLoad::DoIt |
( |
| ) |
[inline, virtual] |
| int XrdProtLoad::getProtocolPort |
( |
const char * |
lname, |
|
|
const char * |
pname, |
|
|
char * |
parms, |
|
|
XrdProtocol_Config * |
pi |
|
) |
| [static, private] |
| int XrdProtLoad::Load |
( |
const char * |
lname, |
|
|
const char * |
pname, |
|
|
char * |
parms, |
|
|
XrdProtocol_Config * |
pi |
|
) |
| [static] |
References XrdMonCtrCollector::port, XrdProtocol_Config::Port, XrdProtocol_Config::WANPort, TRACING, TRACE_DEBUG, XrdTrace, XrdOucTrace::Beg(), XrdOucTrace::End(), ProtoCnt, ProtoMax, XrdLog, XrdSysError::Emsg(), getProtocol(), ProtoWAN, ProtWCnt, ProtPort, ProtName, and Protocol.
Referenced by XrdConfig::Setup().
| int XrdProtLoad::Port |
( |
const char * |
lname, |
|
|
const char * |
pname, |
|
|
char * |
parms, |
|
|
XrdProtocol_Config * |
pi |
|
) |
| [static] |
| int XrdProtLoad::Process |
( |
XrdLink * |
lp | ) |
[virtual] |
Implements XrdProtocol.
References myPort, ProtWCnt, ProtoWAN, Match(), XrdLink::isFlawed(), ProtoCnt, ProtPort, Protocol, XrdLink::setEtext(), XrdLink::setProtocol(), TRACING, TRACE_DEBUG, XrdTrace, XrdOucTrace::Beg(), ProtName, XrdOucTrace::End(), XrdPoll::Attach(), and XrdProtocol::Process().
| void XrdProtLoad::Recycle |
( |
XrdLink * |
lp, |
|
|
int |
ctime, |
|
|
const char * |
txt |
|
) |
| [virtual] |
| int XrdProtLoad::Statistics |
( |
char * |
buff, |
|
|
int |
blen, |
|
|
int |
do_sync = 0 |
|
) |
| [static] |
| int XrdProtLoad::Stats |
( |
char * |
buff, |
|
|
int |
blen, |
|
|
int |
do_sync = 0 |
|
) |
| [inline, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: