// $Id$ // // ============================================================================ // // = LIBRARY // TAO // // = FILENAME // POAC.h // // = DESCRIPTION // // POA skels. This code generated by the The ACE ORB (TAO) IDL // Compiler and is not meant to be read. // // ============================================================================ #if !defined (TAO_IDL_POAS_H) #define TAO_IDL_POAS_H #include "tao/POAC.h" #include "tao/POA_CORBA.h" class TAO_Export POA_PortableServer { public: class ThreadPolicy; typedef ThreadPolicy *ThreadPolicy_ptr; class TAO_Export ThreadPolicy : public virtual POA_CORBA::Policy { protected: ThreadPolicy (void); public: virtual ~ThreadPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::ThreadPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::ThreadPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_THREADPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_THREADPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_ThreadPolicy : public virtual PortableServer::ThreadPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_ThreadPolicy ( ThreadPolicy_ptr servant, STUB_Object *stub ); ThreadPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ThreadPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ThreadPolicy_ptr servant_; }; #endif // end #if !defined class LifespanPolicy; typedef LifespanPolicy *LifespanPolicy_ptr; class TAO_Export LifespanPolicy : public virtual POA_CORBA::Policy { protected: LifespanPolicy (void); public: virtual ~LifespanPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::LifespanPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::LifespanPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_LIFESPANPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_LIFESPANPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_LifespanPolicy : public virtual PortableServer::LifespanPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_LifespanPolicy ( LifespanPolicy_ptr servant, STUB_Object *stub ); LifespanPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::LifespanPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: LifespanPolicy_ptr servant_; }; #endif // end #if !defined class IdUniquenessPolicy; typedef IdUniquenessPolicy *IdUniquenessPolicy_ptr; class TAO_Export IdUniquenessPolicy : public virtual POA_CORBA::Policy { protected: IdUniquenessPolicy (void); public: virtual ~IdUniquenessPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::IdUniquenessPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::IdUniquenessPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_IDUNIQUENESSPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_IDUNIQUENESSPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_IdUniquenessPolicy : public virtual PortableServer::IdUniquenessPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_IdUniquenessPolicy ( IdUniquenessPolicy_ptr servant, STUB_Object *stub ); IdUniquenessPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::IdUniquenessPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: IdUniquenessPolicy_ptr servant_; }; #endif // end #if !defined class IdAssignmentPolicy; typedef IdAssignmentPolicy *IdAssignmentPolicy_ptr; class TAO_Export IdAssignmentPolicy : public virtual POA_CORBA::Policy { protected: IdAssignmentPolicy (void); public: virtual ~IdAssignmentPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::IdAssignmentPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::IdAssignmentPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_IDASSIGNMENTPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_IDASSIGNMENTPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_IdAssignmentPolicy : public virtual PortableServer::IdAssignmentPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_IdAssignmentPolicy ( IdAssignmentPolicy_ptr servant, STUB_Object *stub ); IdAssignmentPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::IdAssignmentPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: IdAssignmentPolicy_ptr servant_; }; #endif // end #if !defined class ImplicitActivationPolicy; typedef ImplicitActivationPolicy *ImplicitActivationPolicy_ptr; class TAO_Export ImplicitActivationPolicy : public virtual POA_CORBA::Policy { protected: ImplicitActivationPolicy (void); public: virtual ~ImplicitActivationPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::ImplicitActivationPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::ImplicitActivationPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_IMPLICITACTIVATIONPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_IMPLICITACTIVATIONPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_ImplicitActivationPolicy : public virtual PortableServer::ImplicitActivationPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_ImplicitActivationPolicy ( ImplicitActivationPolicy_ptr servant, STUB_Object *stub ); ImplicitActivationPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ImplicitActivationPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ImplicitActivationPolicy_ptr servant_; }; #endif // end #if !defined class ServantRetentionPolicy; typedef ServantRetentionPolicy *ServantRetentionPolicy_ptr; class TAO_Export ServantRetentionPolicy : public virtual POA_CORBA::Policy { protected: ServantRetentionPolicy (void); public: virtual ~ServantRetentionPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::ServantRetentionPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::ServantRetentionPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_SERVANTRETENTIONPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_ServantRetentionPolicy : public virtual PortableServer::ServantRetentionPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_ServantRetentionPolicy ( ServantRetentionPolicy_ptr servant, STUB_Object *stub ); ServantRetentionPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ServantRetentionPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ServantRetentionPolicy_ptr servant_; }; #endif // end #if !defined class RequestProcessingPolicy; typedef RequestProcessingPolicy *RequestProcessingPolicy_ptr; class TAO_Export RequestProcessingPolicy : public virtual POA_CORBA::Policy { protected: RequestProcessingPolicy (void); public: virtual ~RequestProcessingPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::RequestProcessingPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::RequestProcessingPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_REQUESTPROCESSINGPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_RequestProcessingPolicy : public virtual PortableServer::RequestProcessingPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_RequestProcessingPolicy ( RequestProcessingPolicy_ptr servant, STUB_Object *stub ); RequestProcessingPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::RequestProcessingPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: RequestProcessingPolicy_ptr servant_; }; #endif // end #if !defined // ************************************************** // // TAO spcific POA locking policy (non-standard) // // ************************************************** class SynchronizationPolicy; typedef SynchronizationPolicy *SynchronizationPolicy_ptr; class TAO_Export SynchronizationPolicy : public virtual POA_CORBA::Policy { protected: SynchronizationPolicy (void); public: virtual ~SynchronizationPolicy (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::SynchronizationPolicyValue value (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; static void _get_value_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void copy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void destroy_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _get_policy_type_skel ( CORBA::ServerRequest &_tao_req, void *_tao_obj, void *_tao_context, CORBA_Environment &_env = CORBA_Environment::default_environment () ); PortableServer::SynchronizationPolicy *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_SYNCHRONIZATIONPOLICY___COLLOCATED_SH_) #define _PORTABLESERVER_SYNCHRONIZATIONPOLICY___COLLOCATED_SH_ class TAO_Export _tao_collocated_SynchronizationPolicy : public virtual PortableServer::SynchronizationPolicy, public virtual POA_CORBA::_tao_collocated_Policy { public: _tao_collocated_SynchronizationPolicy ( SynchronizationPolicy_ptr servant, STUB_Object *stub ); SynchronizationPolicy_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::SynchronizationPolicyValue value ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Policy_ptr copy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::PolicyType policy_type ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: SynchronizationPolicy_ptr servant_; }; #endif // end #if !defined class POAManager; typedef POAManager *POAManager_ptr; class TAO_Export POAManager : public virtual TAO_Local_ServantBase { protected: POAManager (void); public: virtual ~POAManager (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual void activate ( CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void hold_requests (CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void discard_requests (CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void deactivate (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::POAManager *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_POAMANAGER___COLLOCATED_SH_) #define _PORTABLESERVER_POAMANAGER___COLLOCATED_SH_ class TAO_Export _tao_collocated_POAManager : public virtual PortableServer::POAManager { public: _tao_collocated_POAManager ( POAManager_ptr servant, STUB_Object *stub ); POAManager_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void activate ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void hold_requests ( CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void discard_requests ( CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void deactivate ( CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: POAManager_ptr servant_; }; #endif // end #if !defined class AdapterActivator; typedef AdapterActivator *AdapterActivator_ptr; class TAO_Export AdapterActivator : public virtual TAO_Local_ServantBase { protected: AdapterActivator (void); public: virtual ~AdapterActivator (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual CORBA::Boolean unknown_adapter (PortableServer::POA_ptr parent, const char *name, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::AdapterActivator *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_ADAPTERACTIVATOR___COLLOCATED_SH_) #define _PORTABLESERVER_ADAPTERACTIVATOR___COLLOCATED_SH_ class TAO_Export _tao_collocated_AdapterActivator : public virtual PortableServer::AdapterActivator { public: _tao_collocated_AdapterActivator ( AdapterActivator_ptr servant, STUB_Object *stub ); AdapterActivator_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Boolean unknown_adapter ( PortableServer::POA_ptr parent, const char* name, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: AdapterActivator_ptr servant_; }; #endif // end #if !defined class ServantManager; typedef ServantManager *ServantManager_ptr; class TAO_Export ServantManager : public virtual TAO_Local_ServantBase { protected: ServantManager (void); public: virtual ~ServantManager (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::ServantManager *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_SERVANTMANAGER___COLLOCATED_SH_) #define _PORTABLESERVER_SERVANTMANAGER___COLLOCATED_SH_ class TAO_Export _tao_collocated_ServantManager : public virtual PortableServer::ServantManager { public: _tao_collocated_ServantManager ( ServantManager_ptr servant, STUB_Object *stub ); ServantManager_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ServantManager_ptr servant_; }; #endif // end #if !defined class ServantActivator; typedef ServantActivator *ServantActivator_ptr; class TAO_Export ServantActivator : public virtual ServantManager { protected: ServantActivator (void); public: virtual ~ServantActivator (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::Servant incarnate (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void etherealize (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, PortableServer::Servant serv, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::ServantActivator *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_SERVANTACTIVATOR___COLLOCATED_SH_) #define _PORTABLESERVER_SERVANTACTIVATOR___COLLOCATED_SH_ class TAO_Export _tao_collocated_ServantActivator : public virtual PortableServer::ServantActivator, public virtual _tao_collocated_ServantManager { public: _tao_collocated_ServantActivator ( ServantActivator_ptr servant, STUB_Object *stub ); ServantActivator_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::Servant incarnate ( const PortableServer::ObjectId & oid, PortableServer::POA_ptr adapter, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void etherealize ( const PortableServer::ObjectId & oid, PortableServer::POA_ptr adapter, PortableServer::Servant serv, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ServantActivator_ptr servant_; }; #endif // end #if !defined class ServantLocator; typedef ServantLocator *ServantLocator_ptr; class TAO_Export ServantLocator : public virtual ServantManager { protected: ServantLocator (void); public: virtual ~ServantLocator (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::Servant preinvoke (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, const char *operation, PortableServer::ServantLocator::Cookie & the_cookie, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void postinvoke (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, const char *operation, PortableServer::ServantLocator::Cookie the_cookie, PortableServer::Servant the_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::ServantLocator *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_SERVANTLOCATOR___COLLOCATED_SH_) #define _PORTABLESERVER_SERVANTLOCATOR___COLLOCATED_SH_ class TAO_Export _tao_collocated_ServantLocator : public virtual PortableServer::ServantLocator, public virtual _tao_collocated_ServantManager { public: _tao_collocated_ServantLocator ( ServantLocator_ptr servant, STUB_Object *stub ); ServantLocator_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::Servant preinvoke ( const PortableServer::ObjectId & oid, PortableServer::POA_ptr adapter, const char * operation, PortableServer::ServantLocator::Cookie & the_cookie, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void postinvoke ( const PortableServer::ObjectId & oid, PortableServer::POA_ptr adapter, const char * operation, PortableServer::ServantLocator::Cookie the_cookie, PortableServer::Servant the_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: ServantLocator_ptr servant_; }; #endif // end #if !defined class POA; typedef POA *POA_ptr; class TAO_Export POA : public virtual TAO_Local_ServantBase { protected: POA (void); public: virtual ~POA (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::POA_ptr create_POA (const char *adapter_name, PortableServer::POAManager_ptr a_POAManager, const CORBA::PolicyList &policies, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::POA_ptr find_POA (const char *adapter_name, CORBA::Boolean activate_it, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void destroy (CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ThreadPolicy_ptr create_thread_policy (PortableServer::ThreadPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::LifespanPolicy_ptr create_lifespan_policy (PortableServer::LifespanPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy (PortableServer::IdUniquenessPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy (PortableServer::IdAssignmentPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy (PortableServer::ImplicitActivationPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy (PortableServer::ServantRetentionPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy (PortableServer::RequestProcessingPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual // ************************************************** // // TAO spcific POA locking policy (non-standard) // // ************************************************** virtual PortableServer::SynchronizationPolicy_ptr create_synchronization_policy (PortableServer::SynchronizationPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual char * the_name (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; virtual PortableServer::POA_ptr the_parent (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; virtual PortableServer::POAManager_ptr the_POAManager (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; virtual PortableServer::AdapterActivator_ptr the_activator (CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; virtual void the_activator(PortableServer::AdapterActivator_ptr the_activator, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; virtual PortableServer::ServantManager_ptr get_servant_manager ( CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void set_servant_manager (PortableServer::ServantManager_ptr imgr, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::Servant get_servant ( CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void set_servant (PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ObjectId * activate_object (PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void activate_object_with_id (const PortableServer::ObjectId &id, PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual void deactivate_object (const PortableServer::ObjectId &oid, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual CORBA::Object_ptr create_reference (const char *intf, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual CORBA::Object_ptr create_reference_with_id (const PortableServer::ObjectId &oid, const char *intf, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ObjectId * servant_to_id (PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual CORBA::Object_ptr servant_to_reference (PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::Servant reference_to_servant (CORBA::Object_ptr reference, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::ObjectId * reference_to_id (CORBA::Object_ptr reference, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual PortableServer::Servant id_to_servant (const PortableServer::ObjectId &oid, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual virtual CORBA::Object_ptr id_to_reference (const PortableServer::ObjectId &oid, CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::POA *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_POA___COLLOCATED_SH_) #define _PORTABLESERVER_POA___COLLOCATED_SH_ class TAO_Export _tao_collocated_POA : public virtual PortableServer::POA { public: _tao_collocated_POA ( POA_ptr servant, STUB_Object *stub ); POA_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::POA_ptr create_POA ( const char* adapter_name, PortableServer::POAManager_ptr a_POAManager, const CORBA::PolicyList & policies, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::POA_ptr find_POA ( const char* adapter_name, CORBA::Boolean activate_it, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void destroy ( CORBA::Boolean etherealize_objects, CORBA::Boolean wait_for_completion, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ThreadPolicy_ptr create_thread_policy ( PortableServer::ThreadPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::LifespanPolicy_ptr create_lifespan_policy ( PortableServer::LifespanPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::IdUniquenessPolicy_ptr create_id_uniqueness_policy ( PortableServer::IdUniquenessPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::IdAssignmentPolicy_ptr create_id_assignment_policy ( PortableServer::IdAssignmentPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ImplicitActivationPolicy_ptr create_implicit_activation_policy ( PortableServer::ImplicitActivationPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ServantRetentionPolicy_ptr create_servant_retention_policy ( PortableServer::ServantRetentionPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::RequestProcessingPolicy_ptr create_request_processing_policy ( PortableServer::RequestProcessingPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); // ************************************************** // // TAO spcific POA locking policy (non-standard) // // ************************************************** virtual PortableServer::SynchronizationPolicy_ptr create_synchronization_policy ( PortableServer::SynchronizationPolicyValue value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual char* the_name ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::POA_ptr the_parent ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::POAManager_ptr the_POAManager ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::AdapterActivator_ptr the_activator ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void the_activator (PortableServer::AdapterActivator_ptr _tao_value, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ServantManager_ptr get_servant_manager ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void set_servant_manager ( PortableServer::ServantManager_ptr imgr, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::Servant get_servant ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void set_servant ( PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ObjectId * activate_object ( PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void activate_object_with_id ( const PortableServer::ObjectId & id, PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual void deactivate_object ( const PortableServer::ObjectId & oid, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Object_ptr create_reference ( const char *intf, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Object_ptr create_reference_with_id ( const PortableServer::ObjectId & oid, const char *intf, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ObjectId * servant_to_id ( PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Object_ptr servant_to_reference ( PortableServer::Servant p_servant, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::Servant reference_to_servant ( CORBA::Object_ptr reference, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ObjectId * reference_to_id ( CORBA::Object_ptr reference, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::Servant id_to_servant ( const PortableServer::ObjectId & oid, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual CORBA::Object_ptr id_to_reference ( const PortableServer::ObjectId & oid, CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: POA_ptr servant_; }; #endif // end #if !defined class Current; typedef Current *Current_ptr; class TAO_Export Current : public virtual POA_CORBA::Current { protected: Current (void); public: virtual ~Current (void); virtual CORBA::Boolean _is_a ( const char* logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void* _downcast ( const char* logical_type_id ); virtual PortableServer::POA_ptr get_POA ( CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void get_POA_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual PortableServer::ObjectId * get_object_id ( CORBA_Environment &_env = CORBA_Environment::default_environment ()) = 0; // pure virtual static void get_object_id_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); static void _is_a_skel (CORBA::ServerRequest &req, void *obj, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual void _dispatch (CORBA::ServerRequest &req, void *context, CORBA_Environment &_env = CORBA_Environment::default_environment ()); PortableServer::Current *_this (CORBA_Environment &_env = CORBA_Environment::default_environment ()); virtual const char* _interface_repository_id (void) const; }; #if !defined (_PORTABLESERVER_CURRENT___COLLOCATED_SH_) #define _PORTABLESERVER_CURRENT___COLLOCATED_SH_ class TAO_Export _tao_collocated_Current : public virtual PortableServer::Current, public virtual POA_CORBA::_tao_collocated_Current { public: _tao_collocated_Current ( Current_ptr servant, STUB_Object *stub ); Current_ptr _get_servant (void) const; virtual CORBA::Boolean _is_a ( const char *logical_type_id, CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::POA_ptr get_POA ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); virtual PortableServer::ObjectId * get_object_id ( CORBA_Environment &_env = CORBA_Environment::default_environment () ); private: Current_ptr servant_; }; #endif // end #if !defined }; #if defined (__ACE_INLINE__) #include "POAS.i" #endif // defined INLINE #endif /* TAO_IDL_POAS_H */