#pragma once


#include <WHISPER/Messages/Message.hpp>
#include <WHISPER/Messages/Protos/leave.pb.h>
#include <string>
#include <loguru.hpp>

namespace WHISPER {

    class Leave : public Message
    {             
        private:
            messages::leave::Leave leaveMessage;
        public:
            std::uint32_t port;
            std::string sourceAddr;
            
            Leave(std::string receivedMessage);

            Leave(std::uint32_t deviceID, SourceType src,std::uint32_t port, std::string addr);

    };
}