blob: 97c83c660834d60cdbfd428669fafc2b7e3be2bb (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#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
|