diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-09-28 10:55:58 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-09-28 10:55:58 +0200 |
| commit | 85d25eebd38bb278ad598a291a007938854945a4 (patch) | |
| tree | b6f26a8f5a301c9a18d7ab6de5805de7d660cade /node/nextnode.hpp | |
| parent | fa0b4963e977c59586b41e146ea13f44bda714ab (diff) | |
| download | cmix-85d25eebd38bb278ad598a291a007938854945a4.tar.gz cmix-85d25eebd38bb278ad598a291a007938854945a4.tar.bz2 cmix-85d25eebd38bb278ad598a291a007938854945a4.zip | |
Made changes so we can have a 1 Node cmix network.
Diffstat (limited to 'node/nextnode.hpp')
| -rw-r--r-- | node/nextnode.hpp | 4 |
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(); }; |
