CHG: changed the base message class to only use sender uuid as id
This commit is contained in:
@@ -26,6 +26,8 @@ namespace WHISPER {
|
||||
PING,
|
||||
/// PONG
|
||||
PONG,
|
||||
/// general Sim track
|
||||
SIM_TRACK,
|
||||
/// owntrack informaton
|
||||
OWN_TRACK,
|
||||
/// raw track message
|
||||
@@ -92,7 +94,9 @@ namespace WHISPER {
|
||||
|
||||
public:
|
||||
Message()=default;
|
||||
Message(std::string senderUUID, MsgTopics topic, MsgType Type,SourceType src);
|
||||
|
||||
[[deprecated]]
|
||||
Message(std::uint32_t parentId,std::uint32_t deviceId, MsgTopics topic, MsgType Type,SourceType src);
|
||||
Message(std::string msg);
|
||||
|
||||
@@ -108,6 +112,8 @@ namespace WHISPER {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user