Implements acceptor service for UnixDomainSocket.
void asyncAccept(const UnixDomainSocket &socket, const AcceptHandler &callback)
Asynchronously accept new connection.
std::function< void(const boost::system::error_code &)> AcceptHandler
Callback type used in call to UnixDomainSocketAcceptor::asyncAccept.
UnixDomainSocketAcceptor(const IOServicePtr &io_service)
Constructor.
virtual int getProtocol() const final
Returns the transport protocol of the socket.
Represents unix domain socket implemented in terms of boost asio.