summaryrefslogtreecommitdiff
path: root/TAO/tao/Fault_Tolerance_Service.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Fault_Tolerance_Service.i')
-rw-r--r--TAO/tao/Fault_Tolerance_Service.i34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/tao/Fault_Tolerance_Service.i b/TAO/tao/Fault_Tolerance_Service.i
new file mode 100644
index 00000000000..6fb2c4ca1a1
--- /dev/null
+++ b/TAO/tao/Fault_Tolerance_Service.i
@@ -0,0 +1,34 @@
+// -*- C++ -*-
+//
+//$Id$
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+ACE_INLINE
+TAO_Fault_Tolerance_Service::TAO_Fault_Tolerance_Service (void)
+ : ft_service_callback_ (0),
+ ft_object_id_ (),
+ ft_object_retention_id_ (-1),
+ ft_object_retention_id_lock_ (0)
+{
+}
+
+ACE_INLINE TAO_Service_Callbacks *
+TAO_Fault_Tolerance_Service::service_callback (void)
+{
+ return this->ft_service_callback_;
+}
+
+ACE_INLINE const ACE_CString &
+TAO_Fault_Tolerance_Service::client_id (void)
+{
+ return this->ft_object_id_;
+}
+
+ACE_INLINE void
+TAO_Fault_Tolerance_Service::client_id (const char *id)
+{
+ this->ft_object_id_ = id;
+}
+
+TAO_END_VERSIONED_NAMESPACE_DECL