2 // Return the address of the address.
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 ACE_Addr::operator == (const ACE_Addr &sap) const
9 return (sap.addr_type_ == this->addr_type_ &&
10 sap.addr_size_ == this->addr_size_ );
14 ACE_Addr::operator != (const ACE_Addr &sap) const
16 return (sap.addr_type_ != this->addr_type_ ||
17 sap.addr_size_ != this->addr_size_ );
20 /// Return the size of the address.
22 ACE_Addr::get_size () const
24 return this->addr_size_;
27 /// Sets the size of the address.
29 ACE_Addr::set_size (int size)
31 this->addr_size_ = size;
34 /// Return the type of the address.
36 ACE_Addr::get_type () const
38 return this->addr_type_;
41 /// Set the type of the address.
43 ACE_Addr::set_type (int type)
45 this->addr_type_ = type;
48 ACE_INLINE unsigned long
49 ACE_Addr::hash () const
54 ACE_END_VERSIONED_NAMESPACE_DECL