mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-30 00:38:13 +00:00
Initial commit
This commit is contained in:
16
src/MeshTables.h
Normal file
16
src/MeshTables.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <Mesh.h>
|
||||
|
||||
namespace mesh {
|
||||
|
||||
/**
|
||||
* An abstraction of the data tables needed to be maintained, for the routing engine.
|
||||
*/
|
||||
class MeshTables {
|
||||
public:
|
||||
virtual bool hasForwarded(const uint8_t* packet_hash) const = 0;
|
||||
virtual void setHasForwarded(const uint8_t* packet_hash) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user