2005/5/9

     
 

class OrbConnectionMgr

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdkx::orb::OrbConnectionMgr Class Reference

#include <OrbConnectionMgr.h>

Inheritance diagram for acdkx::orb::OrbConnectionMgr:

acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

OrbConnectionMgr is a singleton which manages all Connections to other ORBs.

It implements a connection sharing of each peer connection


Public Member Functions

ROrbConnection getConnection (IN(RServerDelegate) sd)
 returns a OrbConnection The connection (the socket) will be already connected

void disconnect (IN(RServerDelegate) sd)
 Will be called if given serverdelegate is not more needed If the containing connection is not needed by any ServerDelegate the connection itself will be closed.


Static Public Member Functions

ROrbConnectionMgrgetMgr ()
 OrbConnectionMgr is a singleton.


Private Member Functions

 OrbConnectionMgr ()

Private Attributes

::acdk::util::RTreeMap _connections
 Holds OrbConnections as key and value.


Static Private Attributes

ROrbConnectionMgr _connectionManager


Constructor & Destructor Documentation

acdkx::orb::OrbConnectionMgr::OrbConnectionMgr  )  [private]
 


Member Function Documentation

void acdkx::orb::OrbConnectionMgr::disconnect IN(RServerDelegate sd  ) 
 

Will be called if given serverdelegate is not more needed If the containing connection is not needed by any ServerDelegate the connection itself will be closed.

ROrbConnection acdkx::orb::OrbConnectionMgr::getConnection IN(RServerDelegate sd  ) 
 

returns a OrbConnection The connection (the socket) will be already connected

ROrbConnectionMgr& acdkx::orb::OrbConnectionMgr::getMgr  )  [static]
 

OrbConnectionMgr is a singleton.


Member Data Documentation

ROrbConnectionMgr acdkx::orb::OrbConnectionMgr::_connectionManager [static, private]
 

::acdk::util::RTreeMap acdkx::orb::OrbConnectionMgr::_connections [private]
 

Holds OrbConnections as key and value.