CHG: removed the sourcetype out of the basic message

This commit is contained in:
Henry Winkel
2023-08-11 10:59:48 +02:00
parent 1c35c0cf67
commit 8eaf6e529c
21 changed files with 122 additions and 388 deletions

View File

@@ -94,10 +94,10 @@ namespace WHISPER {
public:
Message()=default;
Message(std::string senderUUID, MsgTopics topic, MsgType Type,SourceType src);
Message(std::string senderUUID, MsgTopics topic, MsgType Type);
[[deprecated]]
Message(std::uint32_t parentId,std::uint32_t deviceId, MsgTopics topic, MsgType Type,SourceType src);
Message(std::uint32_t parentId,std::uint32_t deviceId, MsgTopics topic, MsgType Type);
Message(std::string msg);
/**
@@ -110,14 +110,9 @@ namespace WHISPER {
std::uint32_t topic_;
/// WHISPER::MsgType ot the payload
std::uint32_t msgType_;
/// WHISPER::SourceType of the sender
std::uint32_t sourceType_;
///sender uuid
std::string senderUUID_;
/// id of the sender
std::uint32_t deviceId_;
/// parent id of the sender 0 if its the manager
std::uint32_t parentId_;
/**
* @brief returns the serialized message