ADD: added new basic messages and added the parentID as an part of the identifier
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user