xrootd
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdProtLoad Class Reference

#include <XrdProtLoad.hh>

Inheritance diagram for XrdProtLoad:
Inheritance graph
[legend]
Collaboration diagram for XrdProtLoad:
Collaboration graph
[legend]

Public Member Functions

void DoIt ()
 
XrdProtocolMatch (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 ()
 
- Public Member Functions inherited from XrdProtocol
 XrdProtocol (const char *jname)
 
virtual ~XrdProtocol ()
 
- Public Member Functions inherited from XrdJob
 XrdJob (const char *desc="")
 
virtual ~XrdJob ()
 

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 XrdProtocolgetProtocol (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 XrdSysErrorXrdLog = 0
 
static XrdOucTraceXrdTrace = 0
 
static char * ProtName [ProtoMax] = {0}
 
static XrdProtocolProtocol [ProtoMax] = {0}
 
static int ProtPort [ProtoMax] = {0}
 
static XrdProtocolProtoWAN [ProtoMax] = {0}
 
static int ProtoCnt = 0
 
static int ProtWCnt = 0
 
static char * liblist [ProtoMax]
 
static XrdSysPluginlibhndl [ProtoMax]
 
static int libcnt = 0
 

Additional Inherited Members

- Public Attributes inherited from XrdJob
XrdJobNextJob
 
const char * Comment
 

Constructor & Destructor Documentation

XrdProtLoad::XrdProtLoad ( int  port = -1)
XrdProtLoad::~XrdProtLoad ( )

Member Function Documentation

void XrdProtLoad::DoIt ( )
inlinevirtual

Implements XrdJob.

XrdProtocol * XrdProtLoad::getProtocol ( const char *  lname,
const char *  pname,
char *  parms,
XrdProtocol_Config pi 
)
staticprivate

References XrdSysError::Emsg(), libcnt, libhndl, liblist, and XrdLog.

Referenced by Load().

int XrdProtLoad::getProtocolPort ( const char *  lname,
const char *  pname,
char *  parms,
XrdProtocol_Config pi 
)
staticprivate
static void XrdProtLoad::Init ( XrdSysError eP,
XrdOucTrace tP 
)
inlinestatic

References XrdLog, and XrdTrace.

Referenced by XrdConfig::Setup().

int XrdProtLoad::Load ( const char *  lname,
const char *  pname,
char *  parms,
XrdProtocol_Config pi 
)
static
XrdProtocol* XrdProtLoad::Match ( XrdLink )
inlinevirtual

Implements XrdProtocol.

Referenced by Process().

int XrdProtLoad::Port ( const char *  lname,
const char *  pname,
char *  parms,
XrdProtocol_Config pi 
)
static
int XrdProtLoad::Process ( XrdLink lp)
virtual
void XrdProtLoad::Recycle ( XrdLink lp,
int  ctime,
const char *  txt 
)
virtual

Implements XrdProtocol.

References XrdSysError::Emsg(), XrdLink::ID, and XrdLog.

int XrdProtLoad::Statistics ( char *  buff,
int  blen,
int  do_sync = 0 
)
static

References Protocol, and XrdProtocol::Stats().

Referenced by XrdStats::Stats().

int XrdProtLoad::Stats ( char *  buff,
int  blen,
int  do_sync = 0 
)
inlinevirtual

Implements XrdProtocol.

Member Data Documentation

int XrdProtLoad::libcnt = 0
staticprivate

Referenced by getProtocol(), and getProtocolPort().

XrdSysPlugin * XrdProtLoad::libhndl
staticprivate

Referenced by getProtocol(), and getProtocolPort().

char * XrdProtLoad::liblist
staticprivate

Referenced by getProtocol(), and getProtocolPort().

int XrdProtLoad::myPort
private

Referenced by Process().

char * XrdProtLoad::ProtName = {0}
staticprivate

Referenced by Load(), and Process().

int XrdProtLoad::ProtoCnt = 0
staticprivate

Referenced by Load(), and Process().

XrdProtocol * XrdProtLoad::Protocol = {0}
staticprivate

Referenced by Load(), Process(), and Statistics().

const int XrdProtLoad::ProtoMax = 8
static
XrdProtocol * XrdProtLoad::ProtoWAN = {0}
staticprivate

Referenced by Load(), and Process().

int XrdProtLoad::ProtPort = {0}
staticprivate

Referenced by Load(), and Process().

int XrdProtLoad::ProtWCnt = 0
staticprivate

Referenced by Load(), and Process().

XrdSysError * XrdProtLoad::XrdLog = 0
staticprivate
XrdOucTrace * XrdProtLoad::XrdTrace = 0
staticprivate

Referenced by Init(), Load(), Port(), and Process().


The documentation for this class was generated from the following files: