ESA JPIP server  0.1
net::UnixAddress Class Reference

Class to identify and handle an UNIX address. More...

#include <address.h>

Inheritance diagram for net::UnixAddress:
Collaboration diagram for net::UnixAddress:

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...
 
UnixAddressoperator= (const UnixAddress &address)
 Copy assignment. More...
 
UnixAddressReset ()
 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...
 
- Public Member Functions inherited from net::Address
 Address ()
 Empty constructor. More...
 
virtual ~Address ()
 Empty destructor. More...
 

Private Attributes

sockaddr_un sock_addr
 Internal address structure. More...
 

Detailed Description

Class to identify and handle an UNIX address.

The used internal address structure is sockaddr_un.

See Also
Address

Constructor & Destructor Documentation

net::UnixAddress::UnixAddress ( )
inline

Initializes the address to zero.

net::UnixAddress::UnixAddress ( const UnixAddress address)
inline

Copy constructor.

net::UnixAddress::UnixAddress ( const char *  path)
inline

Initializes the address with given path.

Parameters
pathAddress path.

Member Function Documentation

string net::UnixAddress::GetPath ( ) const
inline

Returns the address path.

virtual int net::UnixAddress::GetSize ( ) const
inlinevirtual

Overloaded from the base class to use the internal address structure.

Implements net::Address.

virtual sockaddr* net::UnixAddress::GetSockAddr ( ) const
inlinevirtual

Overloaded from the base class to use the internal address structure.

Implements net::Address.

UnixAddress& net::UnixAddress::operator= ( const UnixAddress address)
inline

Copy assignment.

UnixAddress& net::UnixAddress::Reset ( )
inline

Removes the file associated to the UNIX address.

Here is the caller graph for this function:

Member Data Documentation

sockaddr_un net::UnixAddress::sock_addr
private

Internal address structure.


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