face: use new-style async_accept API
Change-Id: Id9de72c0922ec9ea13e5b1d9ded27dd7edf67e38
diff --git a/daemon/face/tcp-channel.hpp b/daemon/face/tcp-channel.hpp
index 1220687..cc000ea 100644
--- a/daemon/face/tcp-channel.hpp
+++ b/daemon/face/tcp-channel.hpp
@@ -105,11 +105,6 @@
const FaceCreationFailedCallback& onAcceptFailed);
void
- handleAccept(const boost::system::error_code& error,
- const FaceCreatedCallback& onFaceCreated,
- const FaceCreationFailedCallback& onAcceptFailed);
-
- void
handleConnect(const boost::system::error_code& error,
const tcp::Endpoint& remoteEndpoint,
const shared_ptr<boost::asio::ip::tcp::socket>& socket,
@@ -125,10 +120,9 @@
private:
const tcp::Endpoint m_localEndpoint;
+ const bool m_wantCongestionMarking;
boost::asio::ip::tcp::acceptor m_acceptor;
- boost::asio::ip::tcp::socket m_socket;
std::map<tcp::Endpoint, shared_ptr<Face>> m_channelFaces;
- bool m_wantCongestionMarking;
DetermineFaceScopeFromAddress m_determineFaceScope;
};