cleanup virtual inheritence for Router/Reliable/Flooding/DSR

This commit is contained in:
geeksville
2020-05-23 09:24:22 -07:00
parent 8e2e154cdd
commit c9cb293bf2
7 changed files with 96 additions and 69 deletions

View File

@@ -88,13 +88,9 @@ class ReliableRouter : public FloodingRouter
protected:
/**
* Called from loop()
* Handle any packet that is received by an interface on this node.
* Note: some packets may merely being passed through this node and will be forwarded elsewhere.
*
* Note: this method will free the provided packet
* Look for acks/naks or someone retransmitting us
*/
virtual void handleReceived(MeshPacket *p);
virtual void sniffReceived(const MeshPacket *p);
private:
/**