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 ()
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 ()

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 ( )

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 
) [private, virtual]
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

Referenced by Connect().

Referenced by BootUp(), and ShutDown().

Referenced by BootUp(), and Connect().

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


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