implemented local client join functionality
This commit is contained in:
@@ -12,6 +12,8 @@ namespace WHISPER {
|
||||
msg = messages::header::Message();
|
||||
try {
|
||||
msg.ParseFromString(stringMessage);
|
||||
|
||||
deviceId_ = msg.sourceid();
|
||||
topic_ = msg.topic();
|
||||
sourceType_ = msg.sourcetype();
|
||||
msgType_ = msg.msgtype();
|
||||
@@ -60,7 +62,6 @@ namespace WHISPER {
|
||||
std::string Message::serialize(){
|
||||
|
||||
std::string serializedMessage;
|
||||
LOG_S(INFO)<<msg.ByteSizeLong();
|
||||
if (msg.IsInitialized()) {
|
||||
serializedMessage = msg.SerializeAsString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user