diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-02 17:54:56 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-02 17:54:56 -0700 |
| commit | a69e1876f10266e5578be0a469ae7498f705fe96 (patch) | |
| tree | 0a1e7e3a0b88ce21ca12ea2f0ccd1ebbfacdab51 /node/Switch.hpp | |
| parent | 5f51653f9c1f0de3091cb2df0ed25fc28e865aa4 (diff) | |
| download | infinitytier-a69e1876f10266e5578be0a469ae7498f705fe96.tar.gz infinitytier-a69e1876f10266e5578be0a469ae7498f705fe96.zip | |
The concept of link desperation (escalating to less desirable transports) simplifies a ton of stuff. Loads of spaghetti logic can die since we no longer have to make these decisions down in the core.
Diffstat (limited to 'node/Switch.hpp')
| -rw-r--r-- | node/Switch.hpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp index da99b5cd..b5da54a0 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -117,31 +117,6 @@ public: void send(const Packet &packet,bool encrypt); /** - * Send a HELLO announcement - * - * @param dest Address of destination - */ - void sendHELLO(const Address &dest); - - /** - * Send a HELLO announcement immediately to the indicated address - * - * @param dest Destination peer - * @param path Network path to peer - * @return True if send appears successful - */ - bool sendHELLO(const SharedPtr<Peer> &dest,const Path &path); - - /** - * Send a HELLO announcement immediately to the indicated address via UDP - * - * @param dest Destination peer - * @param destUdp UDP inet address - * @return True if send appears successful - */ - bool sendHELLO(const SharedPtr<Peer> &dest,const InetAddress &destUdp); - - /** * Send RENDEZVOUS to two peers to permit them to directly connect * * This only works if both peers are known, with known working direct |
