diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-08-29 21:45:07 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-08-29 21:45:07 +0000 |
commit | 8fe4471d043bb77442efc0c30f0a2a5caa048a81 (patch) | |
tree | 4ee063f808dbb220273af706f5d0a90bc691fb04 /TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h | |
parent | c33e7d9877f25e7875aad4d6591fd13917dda430 (diff) | |
download | ATCD-8fe4471d043bb77442efc0c30f0a2a5caa048a81.tar.gz |
ChangeLogTag:Wed Aug 29 14:35:31 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h | 84 |
1 files changed, 48 insertions, 36 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h index 4c7df4783f9..f5d3d05782a 100644 --- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h +++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h @@ -29,81 +29,93 @@ #include "tao/IIOP_Endpoint.h" #include "orbsvcs/SSLIOPC.h" -// Tag for storing multiple ssl endpoints within a single profile. +/// Tag for storing multiple ssl endpoints within a single profile. #define TAO_TAG_SSL_ENDPOINTS 0x54414f01U +/** + * @class TAO_SSLIOP_Endpoint + * + * @brief SSLIOP-specific implementation of PP Framework Endpoint + * interface. + */ class TAO_SSLIOP_Export TAO_SSLIOP_Endpoint : public TAO_Endpoint { - // = TITLE - // TAO_SSLIOP_Endpoint - // - // = DESCRIPTION - // SSLIOP-specific implementation of PP Framework Endpoint interface. - // public: friend class TAO_SSLIOP_Profile; - // = Initialization and termination methods. + /// Constructor TAO_SSLIOP_Endpoint (const SSLIOP::SSL *ssl_component, TAO_IIOP_Endpoint *iiop_endp); - // Constructor. + /// Destructor. ~TAO_SSLIOP_Endpoint (void); - // Destructor. - - // = Implementation of abstract TAO_Endpoint methods. See - // Endpoint.h for their documentation. + /** + * @name TAO_Endpoint Methods + * + * See Endpoint.h for their documentation. + */ + //@{ virtual TAO_Endpoint *next (void); virtual int addr_to_string (char *buffer, size_t length); virtual void reset_hint (void); - // = SSLIOP_Endpoint-specific methods. - - const SSLIOP::SSL &ssl_component (void) const; - // Return SSL component corresponding to this endpoint. - + /// Return true if this endpoint is equivalent to @param + /// other_endpoint. + /** + * Two endpoints are equivalent iff their iiop counterparts are + * equivalent, and, if both have non-zero ssl ports, their ssl ports + * are the same. + */ 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 iiop counterparts are - // equivalent, and, if both have non-zero ssl ports, their ssl ports - // are the same. - - TAO_IIOP_Endpoint *iiop_endpoint (void) const; - // Accessor to our IIOP counterpart. + /// Return a copy of the corresponding endpoints by allocating + /// memory. virtual TAO_Endpoint *duplicate (void); - // This method returns a copy of the corresponding endpoints by - // allocation memory + /// Return a hash value for this object. virtual CORBA::ULong hash (void); - // Return a hash value for this object. + //@} + + /** + * @name SSLIOP_Endpoint-specific Methods + */ + //@{ + /// Return SSL component corresponding to this endpoint. + const SSLIOP::SSL &ssl_component (void) const; + + /// Accessor to our IIOP counterpart. + TAO_IIOP_Endpoint *iiop_endpoint (void) const; /// Return the SSLIOP-specific ACE_INET_Addr. const ACE_INET_Addr &object_addr (void) const; + //@} private: + /// Cache the SSL tagged component in a decoded format. Notice that + /// we do not need to marshal this object! SSLIOP::SSL ssl_component_; - // Cache the SSL tagged component in a decoded format. Notice that - // we do not need to marshal this object! /// Cached instance of ACE_INET_Addr for use in making invocations, /// etc. ACE_INET_Addr object_addr_; + /// IIOP Endpoints can be stringed into a list. Return the next + /// endpoint in the list, if any. TAO_SSLIOP_Endpoint *next_; - // IIOP Endpoints can be stringed into a list. Return the next - // endpoint in the list, if any. + /// IIOP counterpart. + /** + * Since SSLIOP is an 'extension' of IIOP, each SSLIOP_Endpoint + * contains SSL-specific information plus a pointer to the + * IIOP_Endpoint containing the IIOP portion of our address. + */ TAO_IIOP_Endpoint *iiop_endpoint_; - // Our IIOP counterpart. - // Since SSLIOP is an 'extension' of IIOP, each SSLIOP_Endpoint - // contains ssl-specific info plus a pointer to the IIOP_Endpoint - // containing the iiop portion of our address. + }; #if defined (__ACE_INLINE__) |