summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h
new file mode 100644
index 00000000000..7c57a64a2c2
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.h
@@ -0,0 +1,65 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file FT_ServerService_Activate.h
+ *
+ * $Id$
+ *
+ * A concrete implementation of a service callback
+ *
+ * @author Bala Natarajan <bala@cs.wustl.edu>
+ */
+//=============================================================================
+
+#ifndef TAO_FT_SERVERACTIVATE_H
+#define TAO_FT_SERVERACTIVATE_H
+#include /**/ "ace/pre.h"
+
+#include "orbsvcs/FaultTolerance/FT_ServerORB_export.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Services_Activate.h"
+#include "ace/Service_Config.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+class TAO_Service_Callbacks;
+
+// Forward declarations
+/**
+ * @class TAO_FT_ServerService_Activate
+ *
+ * @brief A class to dynamically load the FT callback implementations in
+ * to the ORB.
+ *
+ */
+class TAO_FT_ServerORB_Export TAO_FT_ServerService_Activate
+: public ACE_Service_Object
+{
+
+public:
+ /// Constructor
+ TAO_FT_ServerService_Activate (void);
+
+ /// The destructor
+ virtual ~TAO_FT_ServerService_Activate (void);
+
+ /// Used to force the initialization.
+ static int Initializer (void);
+
+};
+
+static int
+TAO_FT_Requires_ServerService_Activate = TAO_FT_ServerService_Activate::Initializer ();
+
+TAO_END_VERSIONED_NAMESPACE_DECL
+
+ACE_STATIC_SVC_DECLARE (TAO_FT_ServerService_Activate)
+ACE_FACTORY_DECLARE (TAO_FT_ServerORB, TAO_FT_ServerService_Activate)
+
+#include /**/ "ace/post.h"
+#endif /*TAO_FT_ACTIVATE_H*/