3 #include "ace/SString.h"
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 // Compare two addresses for equality.
9 ACE_SPIPE_Addr::operator == (const ACE_SPIPE_Addr &sap) const
11 return ACE_OS::strcmp (this->SPIPE_addr_.rendezvous_, sap.SPIPE_addr_.rendezvous_) == 0;
14 // Compare two addresses for inequality.
16 ACE_SPIPE_Addr::operator != (const ACE_SPIPE_Addr &sap) const
18 return !((*this) == sap);
21 // Return the path name used for the rendezvous point.
22 ACE_INLINE const ACE_TCHAR *
23 ACE_SPIPE_Addr::get_path_name () const
25 return this->SPIPE_addr_.rendezvous_;
29 ACE_SPIPE_Addr::user_id () const
31 return this->SPIPE_addr_.uid_;
35 ACE_SPIPE_Addr::user_id (uid_t uid)
37 this->SPIPE_addr_.uid_ = uid;
41 ACE_SPIPE_Addr::group_id () const
43 return this->SPIPE_addr_.gid_;
47 ACE_SPIPE_Addr::group_id (gid_t gid)
49 this->SPIPE_addr_.gid_ = gid;
52 ACE_END_VERSIONED_NAMESPACE_DECL