[ndnSIM] More intrusive changes removing use of boost::asio::io_service
Use of either removed or replaced with defunct DummyIoService for API
compatibility.
Change-Id: I9f99a944bf5cd082180e3f0ebccf977d5bf73f26
diff --git a/src/transport/transport.cpp b/src/transport/transport.cpp
index 0ea5bee..7cca3a2 100644
--- a/src/transport/transport.cpp
+++ b/src/transport/transport.cpp
@@ -34,19 +34,16 @@
}
Transport::Transport()
- : m_ioService(nullptr)
- , m_isConnected(false)
+ : m_isConnected(false)
, m_isReceiving(false)
{
}
void
-Transport::connect(boost::asio::io_service& ioService,
- const ReceiveCallback& receiveCallback)
+Transport::connect(const ReceiveCallback& receiveCallback)
{
BOOST_ASSERT(receiveCallback != nullptr);
- m_ioService = &ioService;
m_receiveCallback = receiveCallback;
}