summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile.h
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2006-04-26 17:12:48 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2006-04-26 17:12:48 +0000
commitdeaa7a203fb9a4db2f3b01eaf2995ccb87e5944d (patch)
tree05a08d17ed7b625832acb49896659fb0beda830b /TAO/tao/Profile.h
parent4274f7f32351550bc6b3f8b346488f1b0a993bb4 (diff)
downloadATCD-deaa7a203fb9a4db2f3b01eaf2995ccb87e5944d.tar.gz
ChangeLog tag: Wed Apr 26 16:42:45 UTC 2006 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/Profile.h')
-rw-r--r--TAO/tao/Profile.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h
index 6382de6b44e..700b257c6ec 100644
--- a/TAO/tao/Profile.h
+++ b/TAO/tao/Profile.h
@@ -206,7 +206,7 @@ public:
virtual int encode_alternate_endpoints (void);
/**
- * Return pointer to this profile's endpoint. If the profile
+ * Return a pointer to this profile's endpoint. If the profile
* contains more than one endpoint, i.e., a list, the method returns
* the head of the list.
*/
@@ -216,6 +216,19 @@ public:
virtual CORBA::ULong endpoint_count (void) const = 0;
/**
+ * Return the first endpoint in the list that matches some filtering
+ * constraint, such as IPv6 compatibility for IIOP endpoints. This
+ * method is implemented in terms of TAO_Endpoint;:next_filtered().
+ */
+ TAO_Endpoint *first_filtered_endpoint (void);
+
+ /// Return the next filtered endpoint in the list after the one
+ /// passed in. This method is implemented in terms of
+ /// TAO_Endpoint;:next_filtered(). If the supplied source endpoint
+ /// is null, this returns the first filtered endpoint.
+ TAO_Endpoint *next_filtered_endpoint (TAO_Endpoint *source);
+
+ /**
* Remove the provided endpoint from the profile. Some
* subclasses of TAO_Profile already have a protocol-specific
* version of remove_endpoint, but this generic interface is
@@ -226,6 +239,9 @@ public:
*/
virtual void remove_generic_endpoint (TAO_Endpoint *ep);
+ /// Add a protocol-agnostic endpoint
+ virtual void add_generic_endpoint (TAO_Endpoint *ep);
+
/// Verify profile equivalance.
/**
* Two profiles are equivalent if their tag, object_key, version
@@ -238,6 +254,12 @@ public:
*/
CORBA::Boolean is_equivalent (const TAO_Profile* other_profile);
+ /**
+ * Compare the object key for this profile with that of
+ * another. This is weaker than is_equivalent
+ */
+ CORBA::Boolean compare_key (const TAO_Profile *other) const;
+
/// Return a hash value for this object.
virtual CORBA::ULong hash (CORBA::ULong max
ACE_ENV_ARG_DECL) = 0;