#include <XrdClientConnMgr.hh>


| XrdClientConnectionMgr::XrdClientConnectionMgr | ( | ) |
References Error, fGarbageColl, fLastLogIdUsed, fSidManager, GarbageCollectorThread, and XrdClientThread::Run().
| XrdClientConnectionMgr::~XrdClientConnectionMgr | ( | ) | [virtual] |
| int XrdClientConnectionMgr::Connect | ( | XrdClientUrlInfo | RemoteAddress | ) |
References XrdOucHash< T >::Apply(), XrdSysCondVar::Broadcast(), XrdOucString::c_str(), XrdClientConnectionMgr::CndVarInfo::cnt, XrdClientPhyConnection::Connect(), XrdClientPhyConnection::CountLogConn(), XrdClientConnectionMgr::CndVarInfo::cv, DebugLevel, XrdOucHash< T >::Del(), DumpPhyConn(), Error, fConnectingCondVars, XrdOucHash< T >::Find(), fLastLogIdUsed, fLogVec, fMutex, fPhyHash, fPhyTrash, fSidManager, GarbageCollect(), XrdClientVector< T >::GetSize(), XrdClientUrlInfo::Host, XrdClientUrlInfo::HostAddr, Info, XrdClientPhyConnection::IsValid(), XrdClientDebug::kHIDEBUG, XrdOucString::length(), XrdSysCondVar::Lock(), XrdSysMutex::Lock(), XrdOucHash< T >::Num(), XrdClientUrlInfo::Port, XrdClientVector< T >::Push_back(), XrdOucHash< T >::Rep(), XrdClientLogConnection::SetPhyConnection(), XrdClientLogConnection::Streamid(), XrdClientPhyConnection::Touch(), XrdSysCondVar::UnLock(), XrdSysMutex::UnLock(), XrdClientUrlInfo::User, XrdSysCondVar::Wait(), XrdClientPhyConnection::WipeStreamid(), and XRC_MAXVECTSIZE.
| void XrdClientConnectionMgr::Disconnect | ( | int | LogConnectionID, | |
| bool | ForcePhysicalDisc | |||
| ) |
References Error, fLogVec, fMutex, GarbageCollect(), XrdClientVector< T >::GetSize(), Info, and XrdClientDebug::kHIDEBUG.
Referenced by ~XrdClientConnectionMgr().
| void XrdClientConnectionMgr::GarbageCollect | ( | ) |
References XrdOucHash< T >::Apply(), DebugLevel, DisconnectElapsedPhyConn, DumpPhyConn(), XrdClientVector< T >::Erase(), fMutex, fPhyHash, fPhyTrash, XrdClientVector< T >::GetSize(), and XrdOucHash< T >::Num().
Referenced by Connect(), Disconnect(), GarbageCollectorThread(), and ~XrdClientConnectionMgr().
| XrdClientLogConnection * XrdClientConnectionMgr::GetConnection | ( | int | LogConnectionID | ) |
References fLogVec, and fMutex.
Referenced by ReadMsg(), ReadRaw(), and WriteRaw().
| XrdClientPhyConnection * XrdClientConnectionMgr::GetPhyConnection | ( | XrdClientUrlInfo | server | ) |
| UnsolRespProcResult XrdClientConnectionMgr::ProcessUnsolicitedMsg | ( | XrdClientUnsolMsgSender * | sender, | |
| XrdClientMessage * | unsolmsg | |||
| ) | [private] |
| XrdClientMessage * XrdClientConnectionMgr::ReadMsg | ( | int | LogConnectionID | ) |
| int XrdClientConnectionMgr::ReadRaw | ( | int | LogConnectionID, | |
| void * | buffer, | |||
| int | BufferLength | |||
| ) |
References Error, GetConnection(), XrdClientLogConnection::ReadRaw(), and TXSOCK_ERR.
| XrdClientSid* XrdClientConnectionMgr::SidManager | ( | ) | [inline] |
References fSidManager.
| int XrdClientConnectionMgr::WriteRaw | ( | int | LogConnectionID, | |
| const void * | buffer, | |||
| int | BufferLength, | |||
| int | substreamid | |||
| ) |
References Error, GetConnection(), TXSOCK_ERR, and XrdClientLogConnection::WriteRaw().
| int DestroyPhyConn | ( | const char * | key, | |
| XrdClientPhyConnection * | p, | |||
| void * | voidcmgr | |||
| ) | [friend] |
Referenced by ~XrdClientConnectionMgr().
| int DisconnectElapsedPhyConn | ( | const char * | key, | |
| XrdClientPhyConnection * | p, | |||
| void * | voidcmgr | |||
| ) | [friend] |
Referenced by GarbageCollect().
| void* GarbageCollectorThread | ( | void * | arg, | |
| XrdClientThread * | thr | |||
| ) | [friend] |
Referenced by XrdClientConnectionMgr().
Referenced by Connect().
Referenced by XrdClientConnectionMgr(), and ~XrdClientConnectionMgr().
int XrdClientConnectionMgr::fLastLogIdUsed [private] |
Referenced by Connect(), and XrdClientConnectionMgr().
Referenced by Connect(), Disconnect(), GetConnection(), ProcessUnsolicitedMsg(), and ~XrdClientConnectionMgr().
XrdSysRecMutex XrdClientConnectionMgr::fMutex [private] |
Referenced by Connect(), Disconnect(), GarbageCollect(), GetConnection(), ProcessUnsolicitedMsg(), and ~XrdClientConnectionMgr().
Referenced by Connect(), GarbageCollect(), GetPhyConnection(), and ~XrdClientConnectionMgr().
Referenced by Connect(), DisconnectElapsedPhyConn(), and GarbageCollect().
XrdClientSid* XrdClientConnectionMgr::fSidManager [private] |
Referenced by Connect(), SidManager(), XrdClientConnectionMgr(), and ~XrdClientConnectionMgr().
1.7.1