CIAO  1.3.3
Public Member Functions | Private Member Functions | List of all members
CIAO::Session_Container_i Class Reference

#include <Session_Container.h>

Inheritance diagram for CIAO::Session_Container_i:
Inheritance graph
[legend]
Collaboration diagram for CIAO::Session_Container_i:
Collaboration graph
[legend]

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. More...
 
virtual void fini (void)
 Cleanup method. More...
 
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. More...
 
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. More...
 
- 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. More...
 
virtual PortableServer::POA_ptr the_port_POA (void)
 
virtual void uninstall_home (Components::CCMHome_ptr homeref)
 Uninstall a servant for component or home. More...
 
virtual void set_attributes (CORBA::Object_ptr compref, const ::Components::ConfigValues &values)
 
virtual void activate_component (Components::CCMObject_ptr compref)
 Activate component. More...
 
virtual void passivate_component (Components::CCMObject_ptr compref)
 Passivate a component. More...
 
virtual void uninstall_component (Components::CCMObject_ptr compref)
 Uninstall a given component. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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 CIAO::Container
Components::CCMHome install_home (in string primary_artifact, in string entry_point, in string servant_artifact, in string servant_entrypoint, in string name, in long open_mode)
 
void uninstall_home (in Components::CCMHome homeptr)
 
Components::CCMObject install_component (in string primary_artifact, in string entry_point, in string servant_artifact, in string servant_entrypoint, in string name, in long open_mode)
 
void set_attributes (in Object name, in Components::ConfigValues values)
 
void activate_component (in Components::CCMObject name)
 
void passivate_component (in Components::CCMObject name)
 
void uninstall_component (in Components::CCMObject compptr)
 
Components::Cookie connect_local_facet (in::Components::CCMObject provider_ref, in string provider_port, in::Components::CCMObject user_ref, in string user_port) raises (::Components::InvalidConnection, ::Components::AlreadyConnected)
 
void disconnect_local_facet (in Components::Cookie cookie, in::Components::CCMObject provider_ref, in string provider_port, in::Components::CCMObject user_ref, in string user_port) raises (::Components::InvalidConnection)
 
Object install_servant (in PortableServer::Servant svnt, in Container_Types::OA_Type type, out PortableServer::ObjectId oid)
 
void uninstall_servant (in PortableServer::Servant compptr, in Container_Types::OA_Type type, out PortableServer::ObjectId oid)
 
Object generate_reference (in string obj_id, in string repo_id, in Container_Types::OA_Type type)
 
Object get_objref (in PortableServer::Servant p)
 
Object get_local_facet (in::Components::CCMObject provider_ref, in string provider_port)
 
void install_service_component_reference (in string service_id, in Object obj)
 
Object uninstall_service_component_reference (in string service_id)
 
Object resolve_service_reference (in string service_id) raises (::Components::CCMException)
 
void init (in string name)
 
- 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)
 
- Public Member Functions inherited from CORBA::Object
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::IORsteal_ior (void)
 
const IOP::IORior (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
 
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 void _add_ref (void)
 
virtual void _remove_ref (void)
 
virtual CORBA::ULong _refcount_value (void) const
 

Private Member Functions

 Session_Container_i (void)
 Not allowed to be. More...
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef LocalObject_ptr _ptr_type
 
typedef LocalObject_var _var_type
 
typedef LocalObject_out _out_type
 
- Public Types inherited from CORBA::Object
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 
static LocalObject_ptr _nil (void)
 
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil (void)
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- 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. More...
 
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)
 
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 
- Protected Attributes inherited from CIAO::Container_i< ::CIAO::Session_Container >
CORBA::ORB_var orb_
 Reference to the ORB. More...
 
PortableServer::POA_var root_poa_
 POA used as root. More...
 
PortableServer::POA_var component_poa_
 
PortableServer::POA_var facet_cons_poa_
 
- Protected Attributes inherited from CORBA::Object
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > refcount_
 

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: