blob: 069c924c021654e2ff457301b78edbece1fd1557 (
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
|
// -*- C++ -*-
//=======================================================================
/**
* @file LB_LoadAlertInfo.h
*
* $Id$
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=======================================================================
#ifndef TAO_LB_LOAD_ALERT_INFO_H
#define TAO_LB_LOAD_ALERT_INFO_H
#include /**/ "ace/pre.h"
#include "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "orbsvcs/orbsvcs/CosLoadBalancingC.h"
/**
* @class TAO_LB_LoadAlertInfo
*
* @brief Structure that contains all LoadAlert-specific information.
*
* Structure that contains all LoadAlert-specific information.
*/
struct TAO_LB_LoadAlertInfo
{
/// Constructor.
TAO_LB_LoadAlertInfo (void);
/// Reference to the LoadAlert object.
CosLoadBalancing::LoadAlert_var load_alert;
/// True if the LoadAlert object has been alerted about a given load
/// condition. False otherwise.
CORBA::Boolean alerted;
};
#include /**/ "ace/post.h"
#endif /* TAO_LB_LOAD_ALERT_INFO_H */
|