blob: 2dd62eec30308d5abc1b0fa10acdfb6be6ad8ba1 (
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
|
#include "LB_LoadAlert.h"
ACE_RCSID (LoadBalancer,
LB_LoadAlert,
"$Id$")
#if !defined (__ACE_INLINE__)
# include "LB_LoadAlert.inl"
#endif /* __ACE_INLINE__ */
TAO_LB_LoadAlert::TAO_LB_LoadAlert (void)
: alerted_ (0),
forward_ ()
{
}
TAO_LB_LoadAlert::~TAO_LB_LoadAlert (void)
{
}
void
TAO_LB_LoadAlert::enable_alert (CORBA::Object /* object_group */
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->alerted_ = 1;
}
void
TAO_LB_LoadAlert::disable_alert (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->alerted_ = 0;
}
|