summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp b/TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp
new file mode 100644
index 00000000000..70e0e846b04
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/Notify/Subscription_Change_Worker.cpp
@@ -0,0 +1,29 @@
+// $Id$
+
+#include "orbsvcs/Notify/Subscription_Change_Worker.h"
+
+#include "orbsvcs/Notify/Proxy.h"
+
+ACE_RCSID(Notify, TAO_Subscription_Change_Worker, "$Id$")
+
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+TAO_Notify_Subscription_Change_Worker::TAO_Notify_Subscription_Change_Worker (
+ const CosNotification::EventTypeSeq & added,
+ const CosNotification::EventTypeSeq & removed)
+ : added_ (added), removed_ (removed)
+{
+}
+
+TAO_Notify_Subscription_Change_Worker::~TAO_Notify_Subscription_Change_Worker ()
+{
+}
+
+void
+TAO_Notify_Subscription_Change_Worker::work (TAO_Notify_Proxy* proxy ACE_ENV_ARG_DECL)
+{
+ proxy->admin_types_changed (this->added_, this->removed_ ACE_ENV_ARG_PARAMETER);
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL