diff options
Diffstat (limited to 'CIAO/ciao/Upgradeable_Context_Impl_T.cpp')
-rw-r--r-- | CIAO/ciao/Upgradeable_Context_Impl_T.cpp | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/CIAO/ciao/Upgradeable_Context_Impl_T.cpp b/CIAO/ciao/Upgradeable_Context_Impl_T.cpp deleted file mode 100644 index da7843974c4..00000000000 --- a/CIAO/ciao/Upgradeable_Context_Impl_T.cpp +++ /dev/null @@ -1,100 +0,0 @@ -// $Id$ - -#ifndef CIAO_UPGRADEABLE_CONTEXT_IMPL_T_C -#define CIAO_UPGRADEABLE_CONTEXT_IMPL_T_C - -#include "Upgradeable_Context_Impl_T.h" - -namespace CIAO -{ - template <typename BASE_CTX, - typename SVNT, - typename COMP, - typename COMP_VAR> - Upgradeable_Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>:: - Upgradeable_Context_Impl ( - Components::CCMHome_ptr home, - Session_Container *c, - SVNT *sv) - : session_context (home, c, sv), - servant_ (sv) - { - } - - template <typename BASE_CTX, - typename SVNT, - typename COMP, - typename COMP_VAR> - Upgradeable_Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>:: - ~Upgradeable_Context_Impl (void) - { - } - - template <typename BASE_CTX, - typename SVNT, - typename COMP, - typename COMP_VAR> - void - Upgradeable_Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>::deactivate_facet ( - const PortableServer::ObjectId &oid - ACE_ENV_ARG_DECL - ) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - /* - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId (obj_id); - */ - - this->container_->deactivate_facet (oid ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - } - - template <typename BASE_CTX, - typename SVNT, - typename COMP, - typename COMP_VAR> - void - Upgradeable_Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>:: - remove_facet ( - CORBA::Object_ptr reference - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - PortableServer::ObjectId_var oid = - this->container_->the_facet_cons_POA ()->reference_to_id - (reference ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - this->update_port_activator (oid.in () ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - - this->deactivate_facet (oid.in () ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - } - - template <typename BASE_CTX, - typename SVNT, - typename COMP, - typename COMP_VAR> - void - Upgradeable_Context_Impl<BASE_CTX, SVNT, COMP, COMP_VAR>:: - update_port_activator ( - const PortableServer::ObjectId &oid - ACE_ENV_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) - { - /* - PortableServer::ObjectId_var oid = - PortableServer::string_to_ObjectId (obj_id); - */ - - CIAO::Servant_Activator *sa = - this->container_->ports_servant_activator (); - sa->update_port_activator (oid ACE_ENV_ARG_PARAMETER); - ACE_CHECK; - } - -} - -#endif /* CIAO_UPGRADEABLE_CONTEXT_IMPL_T_C */ |