summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp58
1 files changed, 58 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp
new file mode 100644
index 00000000000..4ca242fd20a
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.cpp
@@ -0,0 +1,58 @@
+// $Id$
+#include "orbsvcs/FtRtEvent/EventChannel/ObjectGroupManagerHandler.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ObjectGroupManagerHandler::ObjectGroupManagerHandler(
+ ACE_Auto_Event& evt, int num_backups)
+: evt_(evt), num_backups_(num_backups)
+{
+}
+
+void
+ObjectGroupManagerHandler::start (CORBA::Boolean ami_return_val,
+ const FTRT::Location & the_location)
+{
+ ACE_UNUSED_ARG(ami_return_val);
+ ACE_UNUSED_ARG(the_location);
+}
+
+void
+ObjectGroupManagerHandler::start_excep (::Messaging::ExceptionHolder *)
+{
+}
+
+void ObjectGroupManagerHandler::create_group (void)
+{
+}
+
+
+void
+ObjectGroupManagerHandler::create_group_excep (::Messaging::ExceptionHolder *)
+{
+}
+
+void
+ObjectGroupManagerHandler::add_member (void)
+{
+ if (--num_backups_ ==0)
+ evt_.signal();
+}
+
+void
+ObjectGroupManagerHandler::add_member_excep (::Messaging::ExceptionHolder *)
+{
+ this->add_member();
+}
+
+void
+ObjectGroupManagerHandler::set_state (void)
+{
+}
+
+void
+ObjectGroupManagerHandler::set_state_excep (::Messaging::ExceptionHolder *)
+{
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL