ACE
6.3.3
|
Defines the SVR4 STREAM pipe address family address format. More...
#include <SPIPE_Addr.h>
Classes | |
struct | SPIPE_Addr |
Contains security attributes. More... | |
Public Member Functions | |
ACE_SPIPE_Addr (void) | |
Default constructor. More... | |
ACE_SPIPE_Addr (const ACE_SPIPE_Addr &sa) | |
Copy constructor. More... | |
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... More... | |
int | set (const ACE_TCHAR *rendezvous_point, gid_t=0, uid_t=0) |
virtual void * | get_addr (void) const |
Return a pointer to the address. More... | |
virtual void | set_addr (const void *addr, int len) |
Set a pointer to the underlying network address. More... | |
virtual int | addr_to_string (ACE_TCHAR *addr, size_t) const |
Transform the current address into string format. More... | |
virtual int | string_to_addr (const ACE_TCHAR *addr) |
Transform the string into the current addressing format. More... | |
bool | operator== (const ACE_SPIPE_Addr &SAP) const |
Check for equality. More... | |
bool | operator!= (const ACE_SPIPE_Addr &SAP) const |
Check for inequality. More... | |
const ACE_TCHAR * | get_path_name (void) const |
Pathname of rendezvous point in file system. More... | |
uid_t | user_id (void) const |
Get user id. More... | |
void | user_id (uid_t uid) |
Set user id. More... | |
void | group_id (gid_t gid) |
Set group ids. More... | |
gid_t | group_id (void) const |
Get group ids. More... | |
void | dump (void) const |
Dump the state of an object. More... | |
Public Member Functions inherited from ACE_Addr | |
ACE_Addr (int type=-1, int size=-1) | |
Initializes instance variables. More... | |
virtual | ~ACE_Addr (void) |
Destructor. More... | |
int | get_size (void) const |
Return the size of the address. More... | |
void | set_size (int size) |
Sets the size of the address. More... | |
int | get_type (void) const |
Get the type of the address. More... | |
void | set_type (int type) |
Set the type of the address. More... | |
bool | operator== (const ACE_Addr &sap) const |
Check for address equality. More... | |
bool | operator!= (const ACE_Addr &sap) const |
Check for address inequality. More... | |
void | base_set (int type, int size) |
Initializes instance variables. More... | |
virtual unsigned long | hash (void) const |
void | dump (void) const |
Dump the state of an object. More... | |
Public Attributes | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
Public Attributes inherited from ACE_Addr | |
ACE_ALLOC_HOOK_DECLARE | |
Declare the dynamic allocation hooks. More... | |
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. More... | |
Protected Attributes inherited from ACE_Addr | |
int | addr_type_ |
e.g., AF_UNIX, AF_INET, AF_SPIPE, etc. More... | |
int | addr_size_ |
Number of bytes in the address. More... | |
Defines the SVR4 STREAM pipe address family address format.
ACE_SPIPE_Addr::ACE_SPIPE_Addr | ( | void | ) |
Default constructor.
ACE_SPIPE_Addr::ACE_SPIPE_Addr | ( | const ACE_SPIPE_Addr & | sa | ) |
Copy constructor.
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.
|
virtual |
Transform the current address into string format.
void ACE_SPIPE_Addr::dump | ( | void | ) | const |
Dump the state of an object.
|
virtual |
Return a pointer to the address.
Reimplemented from ACE_Addr.
|
inline |
Pathname of rendezvous point in file system.
|
inline |
Set group ids.
|
inline |
Get group ids.
|
inline |
Check for inequality.
|
inline |
Check for equality.
int ACE_SPIPE_Addr::set | ( | const ACE_SPIPE_Addr & | sa | ) |
Acts like a copy constructor...
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.
|
virtual |
Set a pointer to the underlying network address.
Reimplemented from ACE_Addr.
|
virtual |
Transform the string into the current addressing format.
|
inline |
Get user id.
|
inline |
Set user id.
ACE_SPIPE_Addr::ACE_ALLOC_HOOK_DECLARE |
Declare the dynamic allocation hooks.
|
private |