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