UDSListener Class Reference
[Listener implementation classes]

A listener listening for connections to/on a UNIX Domain Socket. More...

#include <udslistener.h>

Inheritance diagram for UDSListener:

Inheritance graph
[legend]
Collaboration diagram for UDSListener:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UDSListener (SocketAddressP &path)
 ~UDSListener ()
std::string class_name () const
std::string get_id () const
 Generate a string to tell a human who we are.
void disconnect ()
 Disconnect a connection, and remove the socket file.

Private Member Functions

int make_incoming_socket ()
 Clean up the socket-file path before calling SocketListener::make_incoming_socket which will do most of the work.


Detailed Description

A listener listening for connections to/on a UNIX Domain Socket.

Definition at line 56 of file udslistener.h.


Constructor & Destructor Documentation

UDSListener::UDSListener ( SocketAddressP path  ) 

Definition at line 52 of file udslistener.cc.

UDSListener::~UDSListener (  ) 

Definition at line 57 of file udslistener.cc.

References disconnect().

Here is the call graph for this function:


Member Function Documentation

std::string UDSListener::class_name ( void   )  const [inline, virtual]

Reimplemented from SocketListener.

Definition at line 64 of file udslistener.h.

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

Generate a string to tell a human who we are.

Reimplemented from SocketListener.

Definition at line 127 of file udslistener.cc.

References SocketListener::sock_addr.

void UDSListener::disconnect ( void   )  [virtual]

Disconnect a connection, and remove the socket file.

This method is called during the connection shutdown process.

Reimplemented from SocketListener.

Definition at line 68 of file udslistener.cc.

References SocketListener::disconnect(), and SocketListener::mutex.

Referenced by ~UDSListener().

Here is the call graph for this function:

Here is the caller graph for this function:

int UDSListener::make_incoming_socket ( void   )  [private, virtual]

Clean up the socket-file path before calling SocketListener::make_incoming_socket which will do most of the work.

Perform additional work before calling SocketListener::make_incoming_socket

Reimplemented from SocketListener.

Definition at line 86 of file udslistener.cc.

References SocketListener::make_incoming_socket(), SocketListener::mutex, and SocketListener::sock_addr.

Here is the call 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