- void send_info(const neighbor& dest, double amount);
- void send_credit(const neighbor& dest, double amount);
- void send_load(const neighbor& dest, double amount);
-
- bool recv_info(double& amount, m_host_t& from);
- bool recv_credit(double& amount, m_host_t& from);
- bool recv_load(double& amount, m_host_t& from);
+ void send(const char* dest, message* msg);
+ bool recv(message*& msg, m_host_t& from);