CHG: removed the sourcetype out of the basic message
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user