blob: fc4578ca6ac615e28f6e9ce3289798c56741cc3b (
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
58
59
|
// -*- C++ -*-
//=======================================================================
/**
* @file LB_ReplicaInfo.h
*
* $Id$
*
* @author Ossama Othman <ossama@uci.edu>
*/
//=======================================================================
#ifndef TAO_LB_REPLICA_INFO_H
#define TAO_LB_REPLICA_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/LoadBalancingC.h"
class TAO_LB_ReplicaInfo;
typedef ACE_Unbounded_Set<TAO_LB_ReplicaInfo *> TAO_LB_ReplicaInfo_Set;
/**
* @class TAO_LB_ReplicaInfo
*
* @brief Class that contains all replica-specific information.
*/
struct TAO_LB_ReplicaInfo
{
/// Reference to the replica.
CORBA::Object_var replica;
/// FactoryInfo used when creating the replica.
LoadBalancing::FactoryInfo factory_info;
/// FactoryCreationId assigned to this replica. This
/// FactoryCreationId_var will contain a zero pointer if the replica
/// was not created using a GenericFactory.
LoadBalancing::GenericFactory::FactoryCreationId_var factory_creation_id;
/// Pointer to the location map entry containing the information
/// related to the location the replica corresponding to this
/// TAO_LB_ReplicaInfo structure.
TAO_LB_Location_Map_Entry *location_entry;
};
#include "ace/post.h"
#endif /* TAO_LB_REPLICA_INFO_H */
|