Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO::Cache_IntId Class Reference

Helper class for TAO_Transport_Cache_Manager. More...

#include <Cache_Entries.h>

Collaboration diagram for TAO::Cache_IntId:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Cache_IntId (void)
 Constructor.
 Cache_IntId (TAO_Transport *transport)
 Constructor.
 Cache_IntId (const Cache_IntId &rhs)
 Copy constructor.
 ~Cache_IntId (void)
 Destructor.
Cache_IntIdoperator= (const Cache_IntId &rhs)
 Assignment operator (does copy memory).
bool operator== (const Cache_IntId &rhs) const
 Equality comparison operator (must match both id_ and kind_).
bool operator!= (const Cache_IntId &rhs) const
 Inequality comparison operator.
TAO_Transporttransport (void)
 Return the underlying transport.
const TAO_Transporttransport (void) const
 Return the underlying transport.
void recycle_state (Cache_Entries_State new_state)
 Set <recycle_state>.
Cache_Entries_State recycle_state (void)
 Get <recycle_state>.
TAO_Transportrelinquish_transport (void)

Private Attributes

TAO_Transporttransport_
 The transport that needs to be cached.
Cache_Entries_State recycle_state_
 The state of the handle.

Detailed Description

Helper class for TAO_Transport_Cache_Manager.

Helper class that wraps the <value> part of the Map or table holding the Transport state.: unifies data items, so they can be stored together as a <value> for a <key> in a table holding the state of the Transport Cache.


Constructor & Destructor Documentation

ACE_INLINE TAO::Cache_IntId::Cache_IntId void   ) 
 

Constructor.

TAO::Cache_IntId::Cache_IntId TAO_Transport transport  ) 
 

Constructor.

ACE_INLINE TAO::Cache_IntId::Cache_IntId const Cache_IntId rhs  ) 
 

Copy constructor.

TAO::Cache_IntId::~Cache_IntId void   ) 
 

Destructor.


Member Function Documentation

ACE_INLINE bool TAO::Cache_IntId::operator!= const Cache_IntId rhs  )  const
 

Inequality comparison operator.

Cache_IntId & TAO::Cache_IntId::operator= const Cache_IntId rhs  ) 
 

Assignment operator (does copy memory).

ACE_INLINE bool TAO::Cache_IntId::operator== const Cache_IntId rhs  )  const
 

Equality comparison operator (must match both id_ and kind_).

ACE_INLINE Cache_Entries_State TAO::Cache_IntId::recycle_state void   ) 
 

Get <recycle_state>.

ACE_INLINE void TAO::Cache_IntId::recycle_state Cache_Entries_State  new_state  ) 
 

Set <recycle_state>.

ACE_INLINE TAO_Transport * TAO::Cache_IntId::relinquish_transport void   ) 
 

Note:
This method should go away once the Transport_Cache_Map_Manager is improved so that it returns TAO_Transport objects when performing a find() operation. This method really only exists to get around inadequacies in the Transport_Cache_Map_Manager interface.

ACE_INLINE const TAO_Transport * TAO::Cache_IntId::transport void   )  const
 

Return the underlying transport.

ACE_INLINE TAO_Transport * TAO::Cache_IntId::transport void   ) 
 

Return the underlying transport.


Member Data Documentation

Cache_Entries_State TAO::Cache_IntId::recycle_state_ [private]
 

The state of the handle.

TAO_Transport* TAO::Cache_IntId::transport_ [private]
 

The transport that needs to be cached.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:19:07 2005 for TAO by  doxygen 1.3.9.1