00001 // -*- C++ -*- 00002 // 00003 //Fault_Tolerance_Service.i,v 1.4 2005/11/02 07:13:02 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE 00008 TAO_Fault_Tolerance_Service::TAO_Fault_Tolerance_Service (void) 00009 : ft_service_callback_ (0), 00010 ft_object_id_ (), 00011 ft_object_retention_id_ (-1), 00012 ft_object_retention_id_lock_ (0) 00013 { 00014 } 00015 00016 ACE_INLINE TAO_Service_Callbacks * 00017 TAO_Fault_Tolerance_Service::service_callback (void) 00018 { 00019 return this->ft_service_callback_; 00020 } 00021 00022 ACE_INLINE const ACE_CString & 00023 TAO_Fault_Tolerance_Service::client_id (void) 00024 { 00025 return this->ft_object_id_; 00026 } 00027 00028 ACE_INLINE void 00029 TAO_Fault_Tolerance_Service::client_id (const char *id) 00030 { 00031 this->ft_object_id_ = id; 00032 } 00033 00034 TAO_END_VERSIONED_NAMESPACE_DECL