Kea  1.5.0
http_acceptor.h
Go to the documentation of this file.
1 // Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef HTTP_ACCEPTOR_H
8 #define HTTP_ACCEPTOR_H
9 
10 #include <asiolink/tcp_acceptor.h>
11 #include <boost/function.hpp>
12 #include <boost/system/system_error.hpp>
13 
14 namespace isc {
15 namespace http {
16 
18 typedef boost::function<void(const boost::system::error_code&)>
20 
23 
24 } // end of namespace isc::http
25 } // end of namespace isc
26 
27 #endif
isc::http::HttpAcceptorCallback
boost::function< void(const boost::system::error_code &)> HttpAcceptorCallback
Type of the callback for the TCP acceptor used in this library.
Definition: http_acceptor.h:19
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
isc::http::HttpAcceptor
asiolink::TCPAcceptor< HttpAcceptorCallback > HttpAcceptor
Type of the TCP acceptor used in this library.
Definition: http_acceptor.h:22
tcp_acceptor.h