aboutsummaryrefslogtreecommitdiff
path: root/node/nextnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/nextnode.cpp')
-rw-r--r--node/nextnode.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/node/nextnode.cpp b/node/nextnode.cpp
deleted file mode 100644
index 8c5b7eb..0000000
--- a/node/nextnode.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-#include "nextnode.hpp"
-
-#include "logging.hpp"
-
-using namespace boost::asio::ip;
-
-NextNode::NextNode(tcp::socket&& socket)
-: client(std::move(socket))
-{}
-
-void NextNode::async_connect(std::string next_host, std::string next_port, std::function<void ()> on_connect)
-{
- client.async_connect(next_host, next_port, on_connect);
-}
-
-void NextNode::close()
-{
- client.close();
-}