[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.hpp b/src/transport/transport.hpp
index b177fad..f5b76dd 100644
--- a/src/transport/transport.hpp
+++ b/src/transport/transport.hpp
@@ -53,12 +53,11 @@
~Transport() = default;
/** \brief asynchronously open the connection
- * \param ioService io_service to create socket on
* \param receiveCallback callback function when a TLV block is received; must not be empty
* \throw boost::system::system_error connection cannot be established
*/
virtual void
- connect(boost::asio::io_service& ioService, const ReceiveCallback& receiveCallback);
+ connect(const ReceiveCallback& receiveCallback);
/** \brief Close the connection.
*/
@@ -113,7 +112,6 @@
receive(const Block& wire);
protected:
- boost::asio::io_service* m_ioService;
bool m_isConnected;
bool m_isReceiving;
ReceiveCallback m_receiveCallback;