#include <XrdOlbProtocol.hh>


Public Member Functions | |
| void | DoIt () |
| XrdProtocol * | Match (XrdLink *lp) |
| int | Process (XrdLink *lp) |
| void | Recycle (XrdLink *lp, int consec, const char *reason) |
| int | Stats (char *buff, int blen, int do_sync=0) |
| XrdOlbProtocol () | |
| ~XrdOlbProtocol () | |
Static Public Member Functions | |
| static XrdOlbProtocol * | Alloc () |
| static void | setNet (XrdInet *net, int rwt) |
Private Attributes | |
| XrdOlbProtocol * | ProtLink |
Static Private Attributes | |
| static XrdInet * | myNet = 0 |
| static int | readWait = 1000 |
| static XrdSysMutex | ProtMutex |
| static XrdOlbProtocol * | ProtStack = 0 |
| XrdOlbProtocol::~XrdOlbProtocol | ( | ) | [inline] |
| XrdOlbProtocol * XrdOlbProtocol::Alloc | ( | ) | [static] |
References XrdSysMutex::Lock(), ProtLink, ProtMutex, ProtStack, XrdSysMutex::UnLock(), and XrdOlbProtocol().
| void XrdOlbProtocol::DoIt | ( | ) | [inline, virtual] |
Implements XrdJob.
| XrdProtocol * XrdOlbProtocol::Match | ( | XrdLink * | lp | ) | [virtual] |
Implements XrdProtocol.
References Alloc(), XrdLink::Peek(), readWait, and XrdLink::setEtext().
| int XrdOlbProtocol::Process | ( | XrdLink * | lp | ) | [virtual] |
Implements XrdProtocol.
References Alloc(), XrdNetPeer::fd, XrdLink::FDnum(), XrdLink::Host(), XrdNetPeer::InetAddr, XrdNetPeer::InetName, XrdCms::Manager, myNet, XrdLink::Name(), Say, XrdLink::setEtext(), and XRDNETLINK_NOCLOSE.
| void XrdOlbProtocol::Recycle | ( | XrdLink * | lp, | |
| int | consec, | |||
| const char * | reason | |||
| ) | [virtual] |
Implements XrdProtocol.
References XrdSysMutex::Lock(), ProtLink, ProtMutex, ProtStack, and XrdSysMutex::UnLock().
| static void XrdOlbProtocol::setNet | ( | XrdInet * | net, | |
| int | rwt | |||
| ) | [inline, static] |
References myNet, and readWait.
Referenced by XrdgetProtocol().
| int XrdOlbProtocol::Stats | ( | char * | buff, | |
| int | blen, | |||
| int | do_sync = 0 | |||
| ) | [inline, virtual] |
Implements XrdProtocol.
XrdInet * XrdOlbProtocol::myNet = 0 [static, private] |
XrdOlbProtocol* XrdOlbProtocol::ProtLink [private] |
Referenced by Alloc(), Recycle(), and XrdOlbProtocol().
XrdSysMutex XrdOlbProtocol::ProtMutex [static, private] |
XrdOlbProtocol * XrdOlbProtocol::ProtStack = 0 [static, private] |
int XrdOlbProtocol::readWait = 1000 [static, private] |
1.7.1