ADD: added new basic messages and added the parentID as an part of the identifier

This commit is contained in:
Henry Winkel
2023-01-19 16:03:58 +01:00
parent 49bdb28535
commit 73b15d235a
32 changed files with 2140 additions and 140 deletions

View File

@@ -17,9 +17,10 @@ namespace WHISPER {
struct localClient{
std::uint32_t port;
std::string addr;
std::uint32_t parentid;
std::uint32_t id;
zmq::socket_t clientSocket;
std::time_t lastResponse;
};
@@ -74,7 +75,7 @@ namespace WHISPER {
public:
InternalUDPService(std::uint32_t id, SourceType owndevicetype,std::uint16_t port, std::string destinationAdress, std::string myAdress);
InternalUDPService(std::uint32_t parentid,std::uint32_t id, SourceType owndevicetype,std::uint16_t port, std::string destinationAdress, std::string myAdress);
~InternalUDPService();