summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoint.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-02-20 17:50:09 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-02-20 17:50:09 +0000
commitf867624380ba0003c2a7af8c289738ebe358fb8b (patch)
treee525bff1d716f4a9b884898cb87db5ef7d1200cb /TAO/tao/IIOP_Endpoint.h
parent7e31ea97370b17e12614547535bc60696f9ab57b (diff)
downloadATCD-f867624380ba0003c2a7af8c289738ebe358fb8b.tar.gz
ChangeLogTag:Thu Feb 20 09:07:56 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.h')
-rw-r--r--TAO/tao/IIOP_Endpoint.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/TAO/tao/IIOP_Endpoint.h b/TAO/tao/IIOP_Endpoint.h
index 451ccd78bbf..7cebcd2cde7 100644
--- a/TAO/tao/IIOP_Endpoint.h
+++ b/TAO/tao/IIOP_Endpoint.h
@@ -1,5 +1,4 @@
-// This may look like C, but it's really -*- C++ -*-
-
+// -*- C++ -*-
//=============================================================================
/**
@@ -7,8 +6,7 @@
*
* $Id$
*
- * IIOP implementation of PP Framework Endpoint interface.
- *
+ IIOP implementation of PP Framework Endpoint interface.
*
* @author Marina Spivak <marina@cs.wustl.edu>
*/
@@ -17,6 +15,7 @@
#ifndef TAO_IIOP_ENDPOINT_H
#define TAO_IIOP_ENDPOINT_H
+
#include "ace/pre.h"
#include "tao/Endpoint.h"
@@ -25,7 +24,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/ORB.h"
+#include "tao/CORBA_String.h"
#include "ace/INET_Addr.h"
@@ -43,6 +42,7 @@ class TAO_Export TAO_IIOP_Endpoint : public TAO_Endpoint
{
public:
+ // @todo Lose these friends!
friend class TAO_IIOP_Profile;
friend class TAO_SSLIOP_Profile;
@@ -81,12 +81,10 @@ public:
/// Return true if this endpoint is equivalent to <other_endpoint>. Two
/// endpoints are equivalent iff their port and host are the same.
- CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
+ virtual CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
/// Return a hash value for this object.
- CORBA::ULong hash (void);
-
- // Allocates memory and returns a copy of <this>
+ virtual CORBA::ULong hash (void);
// = IIOP_Endpoint-specific methods.
@@ -107,8 +105,8 @@ public:
/// Set the port number.
CORBA::UShort port (CORBA::UShort p);
+ ///
//TAO_IIOP_Connection_Handler *&hint (void);
- // Access to our <hint_>.
private:
@@ -124,16 +122,18 @@ private:
/// Cached instance of <ACE_INET_Addr> for use in making
/// invocations, etc.
- ACE_INET_Addr object_addr_;
+ mutable ACE_INET_Addr object_addr_;
/// Flag to indicate if the address has been resolved and set.
- int object_addr_set_;
+ mutable int object_addr_set_;
/// IIOP Endpoints can be stringed into a list. Return the next
/// endpoint in the list, if any.
TAO_IIOP_Endpoint *next_;
+
};
+
#if defined (__ACE_INLINE__)
# include "tao/IIOP_Endpoint.i"
#endif /* __ACE_INLINE__ */