3 //=============================================================================
5 * @file Active_Object_Map_Entry.h
7 * @author Irfan Pyarali
9 //=============================================================================
12 #ifndef TAO_ACTIVE_OBJECT_MAP_ENTRY_H
13 #define TAO_ACTIVE_OBJECT_MAP_ENTRY_H
15 #include /**/ "ace/pre.h"
17 #include "tao/PortableServer/PS_ForwardC.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
27 * @struct TAO_Active_Object_Map_Entry
29 * @brief Value field of the active object map.
31 * We need a mapping from and to all of the following fields:
32 * user_id, system_id, and servant. Therefore, we keep
33 * all the fields together in the map.
35 struct TAO_Active_Object_Map_Entry
37 /// Default constructor.
38 TAO_Active_Object_Map_Entry ();
41 PortableServer::ObjectId user_id_
;
44 PortableServer::ObjectId system_id_
;
47 PortableServer::Servant servant_
;
49 /// Reference count on outstanding requests on this servant.
50 CORBA::UShort reference_count_
;
52 /// Has this servant been deactivated already?
53 CORBA::Boolean deactivated_
;
55 /// Priority of this servant.
56 CORBA::Short priority_
;
59 TAO_END_VERSIONED_NAMESPACE_DECL
61 #include /**/ "ace/post.h"
63 #endif /* TAO_ACTIVE_OBJECT_MAP_ENTRY_H */