xrootd
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends

XrdClientConnectionMgr Class Reference

#include <XrdClientConnMgr.hh>

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

List of all members.

Classes

class  CndVarInfo

Public Member Functions

 XrdClientConnectionMgr ()
virtual ~XrdClientConnectionMgr ()
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 ()

Private Member Functions

UnsolRespProcResult ProcessUnsolicitedMsg (XrdClientUnsolMsgSender *sender, XrdClientMessage *unsolmsg)

Private Attributes

XrdClientSidfSidManager
XrdClientVector
< XrdClientLogConnection * > 
fLogVec
XrdOucHash
< XrdClientPhyConnection
fPhyHash
int fLastLogIdUsed
XrdClientVector
< XrdClientPhyConnection * > 
fPhyTrash
XrdOucHash< CndVarInfofConnectingCondVars
XrdSysRecMutex fMutex
XrdClientThreadfGarbageColl

Friends

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

Constructor & Destructor Documentation

XrdClientConnectionMgr::XrdClientConnectionMgr ( )
XrdClientConnectionMgr::~XrdClientConnectionMgr ( ) [virtual]

Member Function Documentation

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 
) [private, virtual]
XrdClientMessage * XrdClientConnectionMgr::ReadMsg ( int  LogConnectionID)
int XrdClientConnectionMgr::ReadRaw ( int  LogConnectionID,
void *  buffer,
int  BufferLength 
)
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 ~XrdClientConnectionMgr().

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

Referenced by GarbageCollect().

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

Referenced by XrdClientConnectionMgr().


Member Data Documentation

Referenced by Connect().

Referenced by Connect(), and XrdClientConnectionMgr().


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