Slight refactor to RENEDEZVOUS sending code for federation.
This commit is contained in:
parent
8a2ff0b31e
commit
dcb1233b0d
5 changed files with 72 additions and 109 deletions
|
@ -55,7 +55,6 @@ class Switch : NonCopyable
|
|||
{
|
||||
public:
|
||||
Switch(const RuntimeEnvironment *renv);
|
||||
~Switch();
|
||||
|
||||
/**
|
||||
* Called when a packet is received from the real network
|
||||
|
@ -127,7 +126,6 @@ public:
|
|||
private:
|
||||
Address _sendWhoisRequest(const Address &addr,const Address *peersAlreadyConsulted,unsigned int numPeersAlreadyConsulted);
|
||||
bool _trySend(Packet &packet,bool encrypt); // packet is modified if return is true
|
||||
bool _unite(const Address &p1,const Address &p2);
|
||||
|
||||
const RuntimeEnvironment *const RR;
|
||||
uint64_t _lastBeaconResponse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue