xrootd
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
XrdClientConnectionMgr Class Reference

#include <XrdClientConnMgr.hh>

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

Classes

class  CndVarInfo
 

Public Member Functions

 XrdClientConnectionMgr ()
 
virtual ~XrdClientConnectionMgr ()
 
bool BootUp ()
 
bool ShutDown ()
 
int Connect (XrdClientUrlInfo RemoteAddress)
 
void Disconnect (int LogConnectionID, bool ForcePhysicalDisc)
 
void GarbageCollect ()
 
XrdClientLogConnectionGetConnection (int LogConnectionID)
 
XrdClientPhyConnectionGetPhyConnection (XrdClientUrlInfo server)
 
XrdClientMessageReadMsg (int LogConnectionID)
 
int ReadRaw (int LogConnectionID, void *buffer, int BufferLength)
 
int WriteRaw (int LogConnectionID, const void *buffer, int BufferLength, int substreamid)
 
XrdClientSidSidManager ()
 
- Public Member Functions inherited from XrdClientAbsUnsolMsgHandler
virtual ~XrdClientAbsUnsolMsgHandler ()
 

Private Member Functions

UnsolRespProcResult ProcessUnsolicitedMsg (XrdClientUnsolMsgSender *sender, XrdClientMessage *unsolmsg)
 
- Private Member Functions inherited from XrdClientUnsolMsgSender
virtual ~XrdClientUnsolMsgSender ()
 
UnsolRespProcResult SendUnsolicitedMsg (XrdClientUnsolMsgSender *sender, XrdClientMessage *unsolmsg)
 
 XrdClientUnsolMsgSender ()
 

Private Attributes

XrdClientSidfSidManager
 
XrdClientVector
< XrdClientLogConnection * > 
fLogVec
 
XrdOucHash
< XrdClientPhyConnection
fPhyHash
 
int fLastLogIdUsed
 
XrdClientVector
< XrdClientPhyConnection * > 
fPhyTrash
 
XrdOucHash< CndVarInfofConnectingCondVars
 
XrdSysRecMutex fMutex
 
XrdClientThreadfGarbageColl
 
- Private Attributes inherited from XrdClientUnsolMsgSender
XrdClientAbsUnsolMsgHandlerUnsolicitedMsgHandler
 

Friends

void * GarbageCollectorThread (void *, XrdClientThread *thr)
 
int DisconnectElapsedPhyConn (const char *, XrdClientPhyConnection *, void *)
 
int DestroyPhyConn (const char *, XrdClientPhyConnection *, void *)
 

Constructor & Destructor Documentation

XrdClientConnectionMgr::XrdClientConnectionMgr ( )

References BootUp().

XrdClientConnectionMgr::~XrdClientConnectionMgr ( )
virtual

References ShutDown().

Member Function Documentation

bool XrdClientConnectionMgr::BootUp ( )
int XrdClientConnectionMgr::Connect ( XrdClientUrlInfo  RemoteAddress)
void XrdClientConnectionMgr::Disconnect ( int  LogConnectionID,
bool  ForcePhysicalDisc 
)
void XrdClientConnectionMgr::GarbageCollect ( )
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 
)
privatevirtual
XrdClientMessage * XrdClientConnectionMgr::ReadMsg ( int  LogConnectionID)
int XrdClientConnectionMgr::ReadRaw ( int  LogConnectionID,
void *  buffer,
int  BufferLength 
)
bool XrdClientConnectionMgr::ShutDown ( )
XrdClientSid* XrdClientConnectionMgr::SidManager ( )
inline

References fSidManager.

int XrdClientConnectionMgr::WriteRaw ( int  LogConnectionID,
const void *  buffer,
int  BufferLength,
int  substreamid 
)

Friends And Related Function Documentation

int DestroyPhyConn ( const char *  key,
XrdClientPhyConnection p,
void *  voidcmgr 
)
friend

Referenced by ShutDown().

int DisconnectElapsedPhyConn ( const char *  key,
XrdClientPhyConnection p,
void *  voidcmgr 
)
friend

Referenced by GarbageCollect().

void* GarbageCollectorThread ( void *  arg,
XrdClientThread thr 
)
friend

Referenced by BootUp().

Member Data Documentation

XrdOucHash<CndVarInfo> XrdClientConnectionMgr::fConnectingCondVars
private

Referenced by Connect().

XrdClientThread* XrdClientConnectionMgr::fGarbageColl
private

Referenced by BootUp(), and ShutDown().

int XrdClientConnectionMgr::fLastLogIdUsed
private

Referenced by BootUp(), and Connect().

XrdClientVector<XrdClientLogConnection*> XrdClientConnectionMgr::fLogVec
private
XrdSysRecMutex XrdClientConnectionMgr::fMutex
private
XrdOucHash<XrdClientPhyConnection> XrdClientConnectionMgr::fPhyHash
private
XrdClientVector<XrdClientPhyConnection *> XrdClientConnectionMgr::fPhyTrash
private
XrdClientSid* XrdClientConnectionMgr::fSidManager
private

Referenced by BootUp(), Connect(), ShutDown(), and SidManager().


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