xrootd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 ()
 
XrdClientLogConnection * GetConnection (int LogConnectionID)
 
XrdClientPhyConnection * GetPhyConnection (XrdClientUrlInfo server)
 
XrdClientMessage * ReadMsg (int LogConnectionID)
 
int ReadRaw (int LogConnectionID, void *buffer, int BufferLength)
 
int WriteRaw (int LogConnectionID, const void *buffer, int BufferLength, int substreamid)
 
XrdClientSid * SidManager ()
 
- 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

XrdClientSid * fSidManager
 
XrdClientVector
< XrdClientLogConnection * > 
fLogVec
 
XrdOucHash
< XrdClientPhyConnection > 
fPhyHash
 
int fLastLogIdUsed
 
XrdClientVector
< XrdClientPhyConnection * > 
fPhyTrash
 
XrdOucHash< CndVarInfo > fConnectingCondVars
 
XrdSysRecMutex fMutex
 
XrdClientThread * fGarbageColl
 
- Private Attributes inherited from XrdClientUnsolMsgSender
XrdClientAbsUnsolMsgHandler * UnsolicitedMsgHandler
 

Friends

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

Constructor & Destructor Documentation

XrdClientConnectionMgr::XrdClientConnectionMgr ( )
virtual XrdClientConnectionMgr::~XrdClientConnectionMgr ( )
virtual

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)
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 *  ,
XrdClientPhyConnection *  ,
void *   
)
friend
int DisconnectElapsedPhyConn ( const char *  ,
XrdClientPhyConnection *  ,
void *   
)
friend
void* GarbageCollectorThread ( void *  ,
XrdClientThread *  thr 
)
friend

Member Data Documentation

XrdOucHash<CndVarInfo> XrdClientConnectionMgr::fConnectingCondVars
private
XrdClientThread* XrdClientConnectionMgr::fGarbageColl
private
int XrdClientConnectionMgr::fLastLogIdUsed
private
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 SidManager().


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