summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp84
1 files changed, 0 insertions, 84 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp
deleted file mode 100644
index a47122b58d5..00000000000
--- a/TAO/orbsvcs/orbsvcs/Notify/ProxyConsumer_T.cpp
+++ /dev/null
@@ -1,84 +0,0 @@
-// $Id$
-
-#ifndef TAO_Notify_PROXYCONSUMER_T_CPP
-#define TAO_Notify_PROXYCONSUMER_T_CPP
-
-#include "orbsvcs/Notify/ProxyConsumer_T.h"
-#include "orbsvcs/Notify/SupplierAdmin.h"
-
-#include "orbsvcs/Notify/Event_Manager.h"
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-template <class SERVANT_TYPE>
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::TAO_Notify_ProxyConsumer_T (void)
-{
-}
-
-template <class SERVANT_TYPE>
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::~TAO_Notify_ProxyConsumer_T ()
-{
-}
-
-template <class SERVANT_TYPE> void
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::admin_types_changed (const CosNotification::EventTypeSeq & added,
- const CosNotification::EventTypeSeq & removed
- ACE_ENV_ARG_DECL)
-{
- this->offer_change (added, removed ACE_ENV_ARG_PARAMETER);
-}
-
-template <class SERVANT_TYPE> CosNotifyChannelAdmin::SupplierAdmin_ptr
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::MyAdmin (ACE_ENV_SINGLE_ARG_DECL)
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CosNotifyChannelAdmin::SupplierAdmin_var ret;
-
- CORBA::Object_var object = this->supplier_admin().ref (ACE_ENV_SINGLE_ARG_PARAMETER);
- ACE_CHECK_RETURN (ret._retn ());
-
- ret = CosNotifyChannelAdmin::SupplierAdmin::_narrow (object.in () ACE_ENV_ARG_PARAMETER);
-
- return ret._retn ();
-}
-
-template <class SERVANT_TYPE> void
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::offer_change (const CosNotification::EventTypeSeq & added, const CosNotification::EventTypeSeq & removed ACE_ENV_ARG_DECL)
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- CosNotifyComm::InvalidEventType
- ))
-{
- TAO_Notify_EventTypeSeq seq_added (added);
- TAO_Notify_EventTypeSeq seq_removed (removed);
-
- {
- ACE_GUARD_THROW_EX (TAO_SYNCH_MUTEX, ace_mon, this->lock_,
- CORBA::INTERNAL ());
- ACE_CHECK;
-
- this->subscribed_types_.add_and_remove (seq_added, seq_removed);
- }
-
- this->event_manager().offer_change (this,
- seq_added,
- seq_removed
- ACE_ENV_ARG_PARAMETER);
-}
-
-template <class SERVANT_TYPE> CosNotification::EventTypeSeq*
-TAO_Notify_ProxyConsumer_T<SERVANT_TYPE>::obtain_subscription_types (
- CosNotifyChannelAdmin::ObtainInfoMode mode
- ACE_ENV_ARG_DECL)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- this->obtain_types (mode, this->event_manager().subscription_types ()
- ACE_ENV_ARG_PARAMETER);
-}
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-#endif /* TAO_Notify_PROXYCONSUMER_T_CPP */