CIAO  1.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions
CIAO::Session_Container_i Class Reference

#include <Session_Container.h>

Inheritance diagram for CIAO::Session_Container_i:
Inheritance graph
Collaboration diagram for CIAO::Session_Container_i:
Collaboration graph

List of all members.

Public Member Functions

 Session_Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr poa)
virtual ~Session_Container_i (void)
virtual void init (const char *name)
 Initialize the container with a name.
virtual void fini (void)
 Cleanup method.
virtual Components::CCMHome_ptr install_home (const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, CORBA::Long open_mode)
 Simply installing a home executor into the component.
virtual Components::CCMObject_ptr install_component (const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, CORBA::Long open_mode)
 Install a new component.
- Public Member Functions inherited from CIAO::Container_i< ::CIAO::Session_Container >
 Container_i (CORBA::ORB_ptr o, PortableServer::POA_ptr root_poa)
virtual ~Container_i (void)
virtual PortableServer::POA_ptr the_POA (void)
 Get component's POA.
virtual PortableServer::POA_ptr the_port_POA (void)
virtual void uninstall_home (Components::CCMHome_ptr homeref)
 Uninstall a servant for component or home.
virtual void set_attributes (CORBA::Object_ptr compref, const ::Components::ConfigValues &values)
virtual void activate_component (Components::CCMObject_ptr compref)
 Activate component.
virtual void passivate_component (Components::CCMObject_ptr compref)
 Passivate a component.
virtual void uninstall_component (Components::CCMObject_ptr compref)
 Uninstall a given component.
virtual ::Components::Cookieconnect_local_facet (::Components::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port)
 Connect a local facet.
virtual void disconnect_local_facet (::Components::Cookie *cookie,::Components::CCMObject_ptr provider, const char *provider_port,::Components::CCMObject_ptr user, const char *user_port)
 Disconnect a local facet.
virtual CORBA::Object_ptr install_servant (PortableServer::Servant objref, Container_Types::OA_Type type, PortableServer::ObjectId_out oid)
virtual void uninstall_servant (PortableServer::Servant objref, Container_Types::OA_Type type, PortableServer::ObjectId_out oid)
 Uninstall a servant for component.
virtual CORBA::Object_ptr get_objref (PortableServer::Servant p)
virtual CORBA::Object_ptr generate_reference (const char *obj_id, const char *repo_id, Container_Types::OA_Type t)
CORBA::ORB_ptr the_ORB (void) const
 Get a reference to the underlying ORB.
virtual CORBA::Object_ptr get_local_facet (::Components::CCMObject_ptr provider_ref, const char *provider_port)
virtual void install_service_component_reference (const char *service_id, CORBA::Object_ptr objref)
virtual CORBA::Object_ptr uninstall_service_component_reference (const char *service_id)
virtual CORBA::Object_ptr resolve_service_reference (const char *service_id)
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject (void)
virtual CORBA::Boolean _non_existent (void)
virtual char * _repository_id (void)
virtual CORBA::InterfaceDef_ptr _get_interface (void)
virtual CORBA::Object_ptr _get_component (void)
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
virtual CORBA::Request_ptr _request (const char *operation)
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
CORBA::PolicyList * _get_policy_overrides (const CORBA::PolicyTypeSeq &types)
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
virtual CORBA::ULong _hash (CORBA::ULong maximum)
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
virtual CORBA::ORB_ptr _get_orb (void)
virtual TAO::ObjectKey * _key (void)
virtual ~Object (void)
virtual TAO_Abstract_ServantBase_servant (void) const
virtual CORBA::Boolean _is_collocated (void) const
virtual CORBA::Boolean _is_local (void) const
 Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
 Object (IOP::IOR *ior, TAO_ORB_Core *orb_core)
virtual TAO_Stub_stubobj (void) const
virtual TAO_Stub_stubobj (void)
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
CORBA::Boolean is_evaluated (void) const
TAO_ORB_Coreorb_core (void) const
IOP::IOR * steal_ior (void)
const IOP::IOR & ior (void) const
virtual bool can_convert_to_ior (void) const
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
void _decr_refcount (void)
virtual void _add_ref (void)
virtual void _remove_ref (void)
virtual CORBA::ULong _refcount_value (void) const
virtual CORBA::Boolean _is_a (const char *logical_type_id)
virtual const char * _interface_repository_id (void) const

Private Member Functions

 Session_Container_i (void)
 Not allowed to be.

Additional Inherited Members

- Protected Member Functions inherited from CIAO::Container_i< ::CIAO::Session_Container >
void uninstall (CORBA::Object_ptr objref, Container_Types::OA_Type t)
 Uninstall a servant for component or home.
void prepare_installation (const char *entity, const char *primary_artifact, const char *entry_point, const char *servant_artifact, const char *servant_entrypoint, const char *name, int open_mode, ACE_DLL &executor_dll, ACE_DLL &servant_dll)
- Protected Member Functions inherited from CORBA::LocalObject
 LocalObject (void)
 Object (int dummy=0)
TAO::Object_Proxy_Broker * proxy_broker () const
- Protected Attributes inherited from CIAO::Container_i< ::CIAO::Session_Container >
CORBA::ORB_var orb_
 Reference to the ORB.
PortableServer::POA_var root_poa_
 POA used as root.
PortableServer::POA_var component_poa_
PortableServer::POA_var facet_cons_poa_
- Protected Attributes inherited from CORBA::LocalObject
ACE_Atomic_Op< TAO_SYNCH_MUTEX,
unsigned long > 
refcount_
- Protected Attributes inherited from CORBA::Object

Constructor & Destructor Documentation

CIAO::Session_Container_i::Session_Container_i ( CORBA::ORB_ptr  o,
PortableServer::POA_ptr  poa 
)
CIAO::Session_Container_i::~Session_Container_i ( void  )
virtual
CIAO::Session_Container_i::Session_Container_i ( void  )
private

Not allowed to be.


Member Function Documentation

void CIAO::Session_Container_i::fini ( void  )
virtual

Cleanup method.

Reimplemented from CIAO::Container_i< ::CIAO::Session_Container >.

void CIAO::Session_Container_i::init ( const char *  name)
virtual

Initialize the container with a name.

Reimplemented from CIAO::Container_i< ::CIAO::Session_Container >.

Components::CCMObject_ptr CIAO::Session_Container_i::install_component ( const char *  primary_artifact,
const char *  entry_point,
const char *  servant_artifact,
const char *  servant_entrypoint,
const char *  name,
CORBA::Long  open_mode 
)
virtual

Install a new component.

Implements CIAO::Container_i< ::CIAO::Session_Container >.

Components::CCMHome_ptr CIAO::Session_Container_i::install_home ( const char *  primary_artifact,
const char *  entry_point,
const char *  servant_artifact,
const char *  servant_entrypoint,
const char *  name,
CORBA::Long  open_mode 
)
virtual

Simply installing a home executor into the component.

This operation install a home executor into the component. It requires the name of the DLLs to executor and the servant glue code, and the entry points to the respective DLLs. Currently, we don't try to manage the lifetime of DLL objects, but we should at some later point.

Return values:
Homeobjref of the installed home. Install a new home

Implements CIAO::Container_i< ::CIAO::Session_Container >.


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