aboutsummaryrefslogtreecommitdiff
path: root/node/nextnode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/nextnode.hpp')
-rw-r--r--node/nextnode.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/nextnode.hpp b/node/nextnode.hpp
index c1ce6a1..42206bb 100644
--- a/node/nextnode.hpp
+++ b/node/nextnode.hpp
@@ -8,5 +8,9 @@ class NextNode : public Client
{
public:
NextNode(boost::asio::ip::tcp::socket&& socket);
+
+ void send(std::string message);
+ void connect(std::string next_host, std::string next_port, std::function<void()> on_connect);
+ void close();
};