ESA JPIP server
0.1
|
Class to identify and handle an UNIX address. More...
#include <address.h>
Public Member Functions | |
UnixAddress () | |
Initializes the address to zero. More... | |
UnixAddress (const UnixAddress &address) | |
Copy constructor. More... | |
UnixAddress (const char *path) | |
Initializes the address with given path. More... | |
UnixAddress & | operator= (const UnixAddress &address) |
Copy assignment. More... | |
UnixAddress & | Reset () |
Removes the file associated to the UNIX address. More... | |
virtual sockaddr * | GetSockAddr () const |
Overloaded from the base class to use the internal address structure. More... | |
virtual int | GetSize () const |
Overloaded from the base class to use the internal address structure. More... | |
string | GetPath () const |
Returns the address path. More... | |
![]() | |
Address () | |
Empty constructor. More... | |
virtual | ~Address () |
Empty destructor. More... | |
Private Attributes | |
sockaddr_un | sock_addr |
Internal address structure. More... | |
Class to identify and handle an UNIX address.
The used internal address structure is sockaddr_un
.
|
inline |
Initializes the address to zero.
|
inline |
Copy constructor.
|
inline |
Initializes the address with given path.
path | Address path. |
|
inline |
Returns the address path.
|
inlinevirtual |
Overloaded from the base class to use the internal address structure.
Implements net::Address.
|
inlinevirtual |
Overloaded from the base class to use the internal address structure.
Implements net::Address.
|
inline |
Copy assignment.
|
inline |
Removes the file associated to the UNIX address.
|
private |
Internal address structure.