CIAO::Swapping_Container Class Reference

#include <Swapping_Container.h>

Inheritance diagram for CIAO::Swapping_Container:

Inheritance graph
Collaboration diagram for CIAO::Swapping_Container:

Collaboration graph

List of all members.

Public Member Functions

 Swapping_Container (CORBA::ORB_ptr o, Deployment::CIAO_Container_i *container_impl)
virtual ~Swapping_Container (void)
virtual void init (const char *name=0, const CORBA::PolicyList *more_policies=0)
 Initialize the container with a name.
virtual CORBA::Object_ptr install_servant (PortableServer::Servant p, Container_Types::OA_Type type, PortableServer::ObjectId_out oid)
 Install a servant for component or home.
virtual CORBA::Object_ptr get_objref (PortableServer::Servant p)
 Get an object reference to a component or home from the servant.
virtual void ciao_uninstall_home (Components::CCMHome_ptr homeref)
virtual CORBA::Object_ptr get_home_objref (PortableServer::Servant p)
virtual void add_servant_to_map (PortableServer::ObjectId &oid, Dynamic_Component_Servant_Base *servant)
virtual void delete_servant_from_map (PortableServer::ObjectId &oid)
virtual void deactivate_facet (const PortableServer::ObjectId &oid)
PortableServer::POA_ptr the_home_servant_POA (void) const

Protected Attributes

unsigned long number_

Static Protected Attributes

static ACE_Atomic_Op
< TAO_SYNCH_MUTEX, unsigned
long > 

Private Member Functions

void create_servant_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root)
 Create POA for the component.
void create_home_servant_POA (const char *name, const CORBA::PolicyList *p, PortableServer::POA_ptr root)
void create_connections_POA (PortableServer::POA_ptr root)

Constructor & Destructor Documentation

CIAO::Swapping_Container::Swapping_Container ( CORBA::ORB_ptr  o,
Deployment::CIAO_Container_i container_impl 

CIAO::Swapping_Container::~Swapping_Container ( void   )  [virtual]

Member Function Documentation

void CIAO::Swapping_Container::add_servant_to_map ( PortableServer::ObjectId oid,
Dynamic_Component_Servant_Base servant 
) [virtual]

void CIAO::Swapping_Container::ciao_uninstall_home ( Components::CCMHome_ptr  homeref  )  [virtual]

void CIAO::Swapping_Container::create_connections_POA ( PortableServer::POA_ptr  root  )  [private]

void CIAO::Swapping_Container::create_home_servant_POA ( const char *  name,
const CORBA::PolicyList *  p,
PortableServer::POA_ptr  root 
) [private]

void CIAO::Swapping_Container::create_servant_POA ( const char *  name,
const CORBA::PolicyList *  p,
PortableServer::POA_ptr  root 
) [private]

Create POA for the component.

void CIAO::Swapping_Container::deactivate_facet ( const PortableServer::ObjectId oid  )  [virtual]

void CIAO::Swapping_Container::delete_servant_from_map ( PortableServer::ObjectId oid  )  [virtual]

CORBA::Object_ptr CIAO::Swapping_Container::get_home_objref ( PortableServer::Servant  p  )  [virtual]

CORBA::Object_ptr CIAO::Swapping_Container::get_objref ( PortableServer::Servant  p  )  [virtual]

Get an object reference to a component or home from the servant.

Implements CIAO::Session_Container.

void CIAO::Swapping_Container::init ( const char *  name = 0,
const CORBA::PolicyList *  more_policies = 0 
) [virtual]

Initialize the container with a name.

Implements CIAO::Session_Container.

CORBA::Object_ptr CIAO::Swapping_Container::install_servant ( PortableServer::Servant  p,
Container_Types::OA_Type  type,
PortableServer::ObjectId_out  oid 
) [virtual]

Install a servant for component or home.

Implements CIAO::Session_Container.

PortableServer::POA_ptr CIAO::Swapping_Container::the_home_servant_POA ( void   )  const

Member Data Documentation

unsigned long CIAO::Swapping_Container::number_ [protected]

ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > CIAO::Swapping_Container::serial_number_ [static, protected]

Static variable to store the highest number we have given out until now

Implements CIAO::Session_Container.

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

Generated on Mon Jul 13 17:17:17 2009 for CIAO by  doxygen 1.5.8