AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
painlessmesh::protocol::NodeSyncReply Class Reference

#include <protocol.hpp>

Inheritance diagram for painlessmesh::protocol::NodeSyncReply:
Inheritance graph
[legend]
Collaboration diagram for painlessmesh::protocol::NodeSyncReply:
Collaboration graph
[legend]

Public Member Functions

JsonObject addTo (JsonObject &&jsonObj) const
 
 NodeSyncRequest ()
 
 NodeSyncRequest (uint32_t fromID, uint32_t destID, std::list< NodeTree > subTree, bool iAmRoot=false)
 
 NodeSyncRequest (JsonObject jsonObj)
 
- Public Member Functions inherited from painlessmesh::protocol::NodeSyncRequest
 NodeSyncRequest ()
 
 NodeSyncRequest (uint32_t fromID, uint32_t destID, std::list< NodeTree > subTree, bool iAmRoot=false)
 
 NodeSyncRequest (JsonObject jsonObj)
 
JsonObject addTo (JsonObject &&jsonObj) const
 
bool operator== (const NodeSyncRequest &b) const
 
bool operator!= (const NodeSyncRequest &b) const
 
size_t jsonObjectSize () const
 
- Public Member Functions inherited from painlessmesh::protocol::NodeTree
 NodeTree ()
 
virtual ~NodeTree ()=default
 
 NodeTree (uint32_t nodeID, bool iAmRoot, bool timeAuthority=false)
 
 NodeTree (JsonObject jsonObj)
 
JsonObject addTo (JsonObject &&jsonObj) const
 
bool operator== (const NodeTree &b) const
 
bool operator!= (const NodeTree &b) const
 
TSTRING toString (bool pretty=false)
 
size_t jsonObjectSize () const
 
void clear ()
 
- Public Member Functions inherited from painlessmesh::protocol::PackageInterface
virtual ~PackageInterface ()=default
 

Public Attributes

int type = NODE_SYNC_REPLY
 
- Public Attributes inherited from painlessmesh::protocol::NodeSyncRequest
int type = NODE_SYNC_REQUEST
 
uint32_t from = 0
 
uint32_t dest = 0
 
- Public Attributes inherited from painlessmesh::protocol::NodeTree
uint32_t nodeId = 0
 
bool root = false
 
bool hasTimeAuthority = false
 
std::list< NodeTree > subs
 

Detailed Description

NodeSyncReply package

Member Function Documentation

◆ addTo()

JsonObject painlessmesh::protocol::NodeSyncReply::addTo ( JsonObject &&  jsonObj) const
inlinevirtual

◆ NodeSyncRequest() [1/3]

painlessmesh::protocol::NodeSyncRequest::NodeSyncRequest ( )
inline

◆ NodeSyncRequest() [2/3]

painlessmesh::protocol::NodeSyncRequest::NodeSyncRequest ( JsonObject  jsonObj)
inline

◆ NodeSyncRequest() [3/3]

painlessmesh::protocol::NodeSyncRequest::NodeSyncRequest ( uint32_t  fromID,
uint32_t  destID,
std::list< NodeTree >  subTree,
bool  iAmRoot = false 
)
inline

Member Data Documentation

◆ type

int painlessmesh::protocol::NodeSyncReply::type = NODE_SYNC_REPLY

The documentation for this class was generated from the following file: