#include <udslistener.h>
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. |
Definition at line 56 of file udslistener.h.
UDSListener::UDSListener | ( | SocketAddressP & | path | ) |
Definition at line 52 of file udslistener.cc.
UDSListener::~UDSListener | ( | ) |
Definition at line 57 of file udslistener.cc.
References disconnect().
std::string UDSListener::class_name | ( | void | ) | const [inline, virtual] |
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().
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.