mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* added getTransmitDelay(), applied to Flood mode retransmissions.
This commit is contained in:
parent
d06532d6f1
commit
8983584dd8
4 changed files with 20 additions and 5 deletions
|
|
@ -46,7 +46,12 @@ protected:
|
|||
* \brief Check whether this packet should be forwarded (re-transmitted) or not.
|
||||
* Is sub-classes responsibility to make sure given packet is only transmitted ONCE (by this node)
|
||||
*/
|
||||
virtual bool allowPacketForward(Packet* packet);
|
||||
virtual bool allowPacketForward(const Packet* packet);
|
||||
|
||||
/**
|
||||
* \returns number of milliseconds delay to apply to retransmitting the given packet.
|
||||
*/
|
||||
virtual uint32_t getRetransmitDelay(const Packet* packet);
|
||||
|
||||
/**
|
||||
* \brief Perform search of local DB of peers/contacts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue