Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Base_Transport_Property.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: Base_Transport_Property.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00003 
00004 // ===================================================================
00005 /**
00006  *  @file  Base_Transport_Property.h
00007  *
00008  *  $Id: Base_Transport_Property.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00009  *
00010  *  @author Bala Natarajan <bala@cs.wustl.edu>
00011  */
00012 // ===================================================================
00013 
00014 #ifndef TAO_BASE_CONNECTION_PROPERTY_H
00015 #define TAO_BASE_CONNECTION_PROPERTY_H
00016 
00017 #include "ace/pre.h"
00018 
00019 #include "tao/Transport_Descriptor_Interface.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "tao/Endpoint.h"
00026 
00027 /**
00028  * @class TAO_Base_Transport_Property
00029  *
00030  * @brief A concrete implementation for connnection property
00031  *
00032  * This class is a concrete implementation of a simple connection
00033  * property class. This provides an implementation for the virtual
00034  * functions declared in TAO_Transport_Descriptor_Interface.
00035  */
00036 class TAO_Export TAO_Base_Transport_Property
00037   : public TAO_Transport_Descriptor_Interface
00038 {
00039 public:
00040 
00041   /// Default constructor
00042   TAO_Base_Transport_Property (void);
00043 
00044   /// Constructor
00045   TAO_Base_Transport_Property (TAO_Endpoint *endpoint,
00046                                CORBA::Boolean flag = 0);
00047 
00048   /// Destructor
00049   virtual ~TAO_Base_Transport_Property (void);
00050 
00051   /// The copy constructor.
00052   TAO_Base_Transport_Property (const TAO_Base_Transport_Property &rhs);
00053 
00054   /// This call allocates and copies the contents of this class and
00055   /// returns the pointer
00056   virtual  TAO_Transport_Descriptor_Interface *duplicate (void);
00057 
00058   /// Try to determine if this object is same as the <other_prop>.
00059   virtual CORBA::Boolean is_equivalent (
00060       const TAO_Transport_Descriptor_Interface *other_prop);
00061 
00062   /// Generate hash value for our class
00063   virtual u_long hash (void) const;
00064 
00065 };
00066 
00067 #if defined (__ACE_INLINE__)
00068 # include "tao/Base_Transport_Property.inl"
00069 #endif /* __ACE_INLINE__ */
00070 
00071 #include "ace/post.h"
00072 #endif /*TAO_BASE_CONNECTION_PROPERTY_H*/

Generated on Mon Jun 16 13:48:01 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002