mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-26 07:02:15 +03:00
- Make most type definitions public instead of protected, to facilitate use in composition.
- Call ResponseTransmittedHook after every response transmission attempt, instead of after every successful response transmission attempt. - Improve documentation. - Finalize README.md. - Update keywords.txt.
This commit is contained in:
@ -32,15 +32,13 @@ enum class MeshBackendType
|
||||
|
||||
class MeshBackendBase {
|
||||
|
||||
protected:
|
||||
public:
|
||||
|
||||
using requestHandlerType = std::function<String(const String &, MeshBackendBase &)> ;
|
||||
using responseHandlerType = std::function<TransmissionStatusType(const String &, MeshBackendBase &)>;
|
||||
using networkFilterType = std::function<void(int, MeshBackendBase &)>;
|
||||
using transmissionOutcomesUpdateHookType = std::function<bool(MeshBackendBase &)>;
|
||||
|
||||
public:
|
||||
|
||||
MeshBackendBase(const requestHandlerType requestHandler, const responseHandlerType responseHandler, const networkFilterType networkFilter, const MeshBackendType classType);
|
||||
|
||||
virtual ~MeshBackendBase();
|
||||
|
Reference in New Issue
Block a user