Active_Object_Map_Entry.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Active_Object_Map_Entry.h
00006  *
00007  *  $Id: Active_Object_Map_Entry.h 71473 2006-03-10 07:19:20Z jtc $
00008  *
00009  *  @author Irfan Pyarali
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_ACTIVE_OBJECT_MAP_ENTRY_H
00015 #define TAO_ACTIVE_OBJECT_MAP_ENTRY_H
00016 
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "tao/PortableServer/PS_ForwardC.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 
00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00027 
00028 /**
00029  * @struct TAO_Active_Object_Map_Entry
00030  *
00031  * @brief Value field of the active object map.
00032  *
00033  * We need a mapping from and to all of the following fields:
00034  * user_id, system_id, and servant.  Therefore, we keep
00035  * all the fields together in the map.
00036  */
00037 struct TAO_Active_Object_Map_Entry
00038 {
00039   /// Default constructor.
00040   TAO_Active_Object_Map_Entry (void);
00041 
00042   /// User id.
00043   PortableServer::ObjectId user_id_;
00044 
00045   /// System id.
00046   PortableServer::ObjectId system_id_;
00047 
00048   /// Servant.
00049   PortableServer::Servant servant_;
00050 
00051   /// Reference count on outstanding requests on this servant.
00052   CORBA::UShort reference_count_;
00053 
00054   /// Has this servant been deactivated already?
00055   CORBA::Boolean deactivated_;
00056 
00057   /// Priority of this servant.
00058   CORBA::Short priority_;
00059 };
00060 
00061 TAO_END_VERSIONED_NAMESPACE_DECL
00062 
00063 #include /**/ "ace/post.h"
00064 
00065 #endif /* TAO_ACTIVE_OBJECT_MAP_ENTRY_H */

Generated on Sun Jan 27 13:23:41 2008 for TAO_PortableServer by doxygen 1.3.6