// // Created by pengx on 2025/3/7. // #ifndef MESSAGE_OBSERVER_HPP #define MESSAGE_OBSERVER_HPP #include <vector> #include <iomanip> class MessageObserver { public: virtual ~MessageObserver() = default; virtual void on_message_received(const std::vector<uint8_t> &command) = 0; virtual void on_node_arrived(const int &node) = 0; }; #endif //MESSAGE_OBSERVER_HPP