summaryrefslogtreecommitdiff
path: root/TAO/tao/Fault_Tolerance_Service.inl
blob: 6fb2c4ca1a1dd593cfd0e22cd53873d599ef37f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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