summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Endpoint.h
diff options
context:
space:
mode:
authorbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-06 20:32:01 +0000
committerbala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-11-06 20:32:01 +0000
commit8f823bf44d45a9c9e543e71d46b4bbf1e402985f (patch)
tree3fc7f550ce21dc2f750f21f454c33d8205722cd9 /TAO/tao/IIOP_Endpoint.h
parentf444717aac1bd9522c4bc55cd5338ca037b20b56 (diff)
downloadATCD-8f823bf44d45a9c9e543e71d46b4bbf1e402985f.tar.gz
ChangeLogTag: Mon Nov 6 13:54:20 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/IIOP_Endpoint.h')
-rw-r--r--TAO/tao/IIOP_Endpoint.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/TAO/tao/IIOP_Endpoint.h b/TAO/tao/IIOP_Endpoint.h
index 014948a2542..8cb5ee5b7f2 100644
--- a/TAO/tao/IIOP_Endpoint.h
+++ b/TAO/tao/IIOP_Endpoint.h
@@ -78,6 +78,18 @@ public:
virtual int addr_to_string (char *buffer, size_t length);
virtual void reset_hint (void);
+ virtual TAO_Endpoint *duplicate (void);
+ // Makes a copy of <this>
+
+ CORBA::Boolean is_equivalent (const TAO_Endpoint *other_endpoint);
+ // Return true if this endpoint is equivalent to <other_endpoint>. Two
+ // endpoints are equivalent iff their port and host are the same.
+
+ CORBA::ULong hash (void);
+ // Return a hash value for this object.
+
+ // Allocates memory and returns a copy of <this>
+
// = IIOP_Endpoint-specific methods.
const ACE_INET_Addr &object_addr (void) const;
@@ -100,14 +112,8 @@ public:
TAO_IIOP_Client_Connection_Handler *&hint (void);
// Access to our <hint_>.
- CORBA::Boolean is_equivalent (const TAO_IIOP_Endpoint *other_endpoint);
- // Return true if this endpoint is equivalent to <other_endpoint>. Two
- // endpoints are equivalent iff their port and host are the same.
-
- CORBA::ULong hash (void);
- // Return a hash value for this object.
-
private:
+
int set (const ACE_INET_Addr &addr,
int use_dotted_decimal_addresses);
// Helper method for setting INET_Addr.