Implements acceptor service for UnixDomainSocket.
std::function< void(const boost::system::error_code &) AcceptHandler)
Callback type used in call to UnixDomainSocketAcceptor::asyncAccept.
void asyncAccept(const UnixDomainSocket &socket, const AcceptHandler &callback)
Asynchronously accept new connection.
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.