UDSSocketAddress Class Reference
[Socket address data structure and methodology]

A SocketAddress describing the "address" of a Unix-domain socket. More...

#include <udssockaddr.h>

Inheritance diagram for UDSSocketAddress:

Inheritance graph
[legend]
Collaboration diagram for UDSSocketAddress:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UDSSocketAddress (const std::string &path)
virtual ~UDSSocketAddress ()
void unlink () const
std::string get_id () const

Protected Member Functions

void set_addr (const std::string &)
 Build a sockaddr from the specified path.


Detailed Description

A SocketAddress describing the "address" of a Unix-domain socket.

Definition at line 57 of file udssockaddr.h.


Constructor & Destructor Documentation

UDSSocketAddress::UDSSocketAddress ( const std::string &  path  ) 

Definition at line 52 of file udssockaddr.cc.

References set_addr(), and SocketAddress::sock_addrlen.

Here is the call graph for this function:

UDSSocketAddress::~UDSSocketAddress (  )  [virtual]

Definition at line 62 of file udssockaddr.cc.


Member Function Documentation

void UDSSocketAddress::unlink (  )  const

Definition at line 94 of file udssockaddr.cc.

References SocketAddress::get_addr().

Here is the call graph for this function:

std::string UDSSocketAddress::get_id ( void   )  const [virtual]

Implements SocketAddress.

Definition at line 104 of file udssockaddr.cc.

References SocketAddress::get_addr().

Here is the call graph for this function:

void UDSSocketAddress::set_addr ( const std::string &  path  )  [protected]

Build a sockaddr from the specified path.

This wrapper will build an address from a string passed to it... Should this code be moved into UDSSocketAddress::UDSSocketAddress() ?

Call our parent to set the member variables inherited from it.

Definition at line 75 of file udssockaddr.cc.

References SocketAddress::set_addr().

Referenced by UDSSocketAddress().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Tue May 13 11:32:50 2008 for consmgr by  doxygen 1.5.5