diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-30 21:39:46 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-03-30 21:39:46 +0000 |
commit | 71a16a56c0e01d83d3354660544956836f428a9f (patch) | |
tree | 1f12ab60f8ece46cd26d6e35405df18290e1e2c6 /TAO/tao/Cache_Entries.h | |
parent | 90b9a712b46422b6e9a9f077078df3959be27184 (diff) | |
download | ATCD-71a16a56c0e01d83d3354660544956836f428a9f.tar.gz |
ChangeLogTag:Sat Mar 30 13:38:10 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/Cache_Entries.h')
-rw-r--r-- | TAO/tao/Cache_Entries.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/TAO/tao/Cache_Entries.h b/TAO/tao/Cache_Entries.h index a296650d604..80dcef96db3 100644 --- a/TAO/tao/Cache_Entries.h +++ b/TAO/tao/Cache_Entries.h @@ -15,7 +15,7 @@ #define TAO_CACHE_ENTRIES_H #include "ace/pre.h" -#include "tao/Transport_Descriptor_Interface.h" +#include "tao/corbafwd.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once @@ -23,6 +23,7 @@ #include "ace/Recyclable.h" +class TAO_Transport_Descriptor_Interface; class TAO_Transport; #ifdef index @@ -39,13 +40,10 @@ class TAO_Transport; * they can be stored together as a <value> for a <key> in a * table holding the state of the Transport Cache. */ -class TAO_Export TAO_Cache_IntId +class TAO_Cache_IntId { - public: - // = Initialization and termination methods. - /// Constructor. TAO_Cache_IntId (void); @@ -90,11 +88,13 @@ public: TAO_Transport *relinquish_transport (void); private: + /// The transport that needs to be cached. TAO_Transport *transport_; /// The state of the handle ACE_Recyclable_State recycle_state_; + }; @@ -105,12 +105,10 @@ private: * several data items, so they can be stored together as a * <value> for a <key> in a hash table holding the state of the * Transport Cache. - * */ -class TAO_Export TAO_Cache_ExtId +class TAO_Cache_ExtId { public: - // = Initialization and termination methods. /// Constructor. TAO_Cache_ExtId (void); @@ -135,7 +133,7 @@ public: int operator!= (const TAO_Cache_ExtId &rhs) const; /// <hash> function is required in order for this class to be usable by - /// ACE_Hash_Map_Manager. + /// ACE_Hash_Map_Manager_Ex. u_long hash (void) const; /// Make a deep copy of the underlying pointer @@ -154,12 +152,11 @@ public: TAO_Transport_Descriptor_Interface *property (void) const; private: - // = Data members. /// A property object that we represent. TAO_Transport_Descriptor_Interface *transport_property_; - /// Do we need to delete transport_propert_? + /// Do we need to delete transport_property? CORBA::Boolean is_delete_; /** @@ -169,6 +166,7 @@ private: * details. */ CORBA::ULong index_; + }; |