ACE 8.0.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
ACE_SPIPE_Addr Class Reference

Defines the SVR4 STREAM pipe address family address format. More...

#include <SPIPE_Addr.h>

Inheritance diagram for ACE_SPIPE_Addr:
Inheritance graph
[legend]
Collaboration diagram for ACE_SPIPE_Addr:
Collaboration graph
[legend]

Classes

struct  SPIPE_Addr
 Contains security attributes. More...
 

Public Member Functions

 ACE_SPIPE_Addr ()
 Default constructor.
 
 ACE_SPIPE_Addr (const ACE_SPIPE_Addr &sa)
 Copy constructor.
 
ACE_SPIPE_Addroperator= (const ACE_SPIPE_Addr &)=default
 Assignment operator.
 
 ACE_SPIPE_Addr (const ACE_TCHAR *rendezvous_point, gid_t=0, uid_t=0)
 
int set (const ACE_SPIPE_Addr &sa)
 Acts like a copy constructor...
 
int set (const ACE_TCHAR *rendezvous_point, gid_t=0, uid_t=0)
 
virtual voidget_addr () const
 Return a pointer to the address.
 
virtual void set_addr (const void *addr, int len)
 Set a pointer to the underlying network address.
 
virtual int addr_to_string (ACE_TCHAR *addr, size_t) const
 Transform the current address into string format.
 
virtual int string_to_addr (const ACE_TCHAR *addr)
 Transform the string into the current addressing format.
 
bool operator== (const ACE_SPIPE_Addr &SAP) const
 Check for equality.
 
bool operator!= (const ACE_SPIPE_Addr &SAP) const
 Check for inequality.
 
const ACE_TCHARget_path_name () const
 Pathname of rendezvous point in file system.
 
uid_t user_id () const
 Get user id.
 
void user_id (uid_t uid)
 Set user id.
 
void group_id (gid_t gid)
 Set group ids.
 
gid_t group_id () const
 Get group ids.
 
void dump () const
 Dump the state of an object.
 
- Public Member Functions inherited from ACE_Addr
 ACE_Addr (int type=-1, int size=-1)
 Initializes instance variables.
 
virtual ~ACE_Addr ()=default
 Destructor.
 
int get_size () const
 Return the size of the address.
 
void set_size (int size)
 Sets the size of the address.
 
int get_type () const
 Get the type of the address.
 
void set_type (int type)
 Set the type of the address.
 
bool operator== (const ACE_Addr &sap) const
 Check for address equality.
 
bool operator!= (const ACE_Addr &sap) const
 Check for address inequality.
 
void base_set (int type, int size)
 Initializes instance variables.
 
virtual unsigned long hash () const
 
void dump () const
 Dump the state of an object.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 
- Public Attributes inherited from ACE_Addr
 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.
 

Private Attributes

struct ACE_SPIPE_Addr::SPIPE_Addr SPIPE_addr_
 

Additional Inherited Members

- Static Public Attributes inherited from ACE_Addr
static const ACE_Addr sap_any
 Wild-card address.
 
- Protected Attributes inherited from ACE_Addr
int addr_type_
 e.g., AF_UNIX, AF_INET, AF_SPIPE, etc.
 
int addr_size_
 Number of bytes in the address.
 

Detailed Description

Defines the SVR4 STREAM pipe address family address format.

Constructor & Destructor Documentation

◆ ACE_SPIPE_Addr() [1/3]

ACE_SPIPE_Addr::ACE_SPIPE_Addr ( )

Default constructor.

◆ ACE_SPIPE_Addr() [2/3]

ACE_SPIPE_Addr::ACE_SPIPE_Addr ( const ACE_SPIPE_Addr & sa)

Copy constructor.

◆ ACE_SPIPE_Addr() [3/3]

ACE_SPIPE_Addr::ACE_SPIPE_Addr ( const ACE_TCHAR * rendezvous_point,
gid_t gid = 0,
uid_t uid = 0 )

Create a ACE_SPIPE_Addr from a rendezvous point in the file system.

Member Function Documentation

◆ addr_to_string()

int ACE_SPIPE_Addr::addr_to_string ( ACE_TCHAR * addr,
size_t len ) const
virtual

Transform the current address into string format.

◆ dump()

void ACE_SPIPE_Addr::dump ( ) const

Dump the state of an object.

◆ get_addr()

void * ACE_SPIPE_Addr::get_addr ( ) const
virtual

Return a pointer to the address.

Reimplemented from ACE_Addr.

◆ get_path_name()

const ACE_TCHAR * ACE_SPIPE_Addr::get_path_name ( ) const
inline

Pathname of rendezvous point in file system.

◆ group_id() [1/2]

gid_t ACE_SPIPE_Addr::group_id ( ) const
inline

Get group ids.

◆ group_id() [2/2]

void ACE_SPIPE_Addr::group_id ( gid_t gid)
inline

Set group ids.

◆ operator!=()

bool ACE_SPIPE_Addr::operator!= ( const ACE_SPIPE_Addr & SAP) const
inline

Check for inequality.

◆ operator=()

ACE_SPIPE_Addr & ACE_SPIPE_Addr::operator= ( const ACE_SPIPE_Addr & )
default

Assignment operator.

◆ operator==()

bool ACE_SPIPE_Addr::operator== ( const ACE_SPIPE_Addr & SAP) const
inline

Check for equality.

◆ set() [1/2]

int ACE_SPIPE_Addr::set ( const ACE_SPIPE_Addr & sa)

Acts like a copy constructor...

◆ set() [2/2]

int ACE_SPIPE_Addr::set ( const ACE_TCHAR * rendezvous_point,
gid_t gid = 0,
uid_t uid = 0 )

Create a ACE_SPIPE_Addr from a rendezvous point in the file system.

◆ set_addr()

void ACE_SPIPE_Addr::set_addr ( const void * addr,
int len )
virtual

Set a pointer to the underlying network address.

Reimplemented from ACE_Addr.

◆ string_to_addr()

int ACE_SPIPE_Addr::string_to_addr ( const ACE_TCHAR * addr)
virtual

Transform the string into the current addressing format.

◆ user_id() [1/2]

uid_t ACE_SPIPE_Addr::user_id ( ) const
inline

Get user id.

◆ user_id() [2/2]

void ACE_SPIPE_Addr::user_id ( uid_t uid)
inline

Set user id.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

ACE_SPIPE_Addr::ACE_ALLOC_HOOK_DECLARE

Declare the dynamic allocation hooks.

◆ SPIPE_addr_

struct ACE_SPIPE_Addr::SPIPE_Addr ACE_SPIPE_Addr::SPIPE_addr_
private

The documentation for this class was generated from the following files: