first version of InternalUDPService
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
|
||||
|
||||
#include "WHISPER/Messages/Protos/join.pb.h"
|
||||
#include <WHISPER/Messages/Message.hpp>
|
||||
#include <memory>
|
||||
|
||||
@@ -47,6 +46,7 @@ namespace WHISPER {
|
||||
|
||||
void Message::addPayLoad(std::shared_ptr<google::protobuf::Any> payload){
|
||||
payload_ = payload;
|
||||
|
||||
LOG_S(INFO)<< "pack any size in message class "<<payload_->ByteSizeLong();
|
||||
|
||||
msg.add_payload()->CopyFrom(*payload_);
|
||||
|
||||
Reference in New Issue
Block a user