Line data Source code
1 : //
2 : // Author: Vladimir Migashko <migashko@gmail.com>, (C) 2013-2018
3 : //
4 : // Copyright: See COPYING file that comes with this distribution
5 : //
6 :
7 : #pragma once
8 : #include <iow/ip/tcp/server/acceptor.hpp>
9 : #include "tcp_connection.hpp"
10 :
11 : namespace wfc{ namespace io{
12 :
13 0 : class tcp_acceptor
14 : : public ::iow::ip::tcp::server::acceptor<tcp_connection>
15 : {
16 : typedef ::iow::ip::tcp::server::acceptor<tcp_connection> super;
17 : public:
18 : typedef super::descriptor_type descriptor_type;
19 0 : explicit tcp_acceptor(descriptor_type&& desc)
20 0 : : super( std::move(desc) )
21 0 : {}
22 : };
23 :
24 : }}
|