This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/server_v2/include/communication/MessageProcessor.hpp
2022-05-22 02:30:07 +02:00

15 lines
No EOL
356 B
C++

#ifndef COMPLIB_SERVER_MESSAGEPROCESSOR_HPP
#define COMPLIB_SERVER_MESSAGEPROCESSOR_HPP
#include <CompLib.pb.h>
#define ERROR_MESSAGE_HEADER_UNKNOWN "Header.message_type unknown"
class MessageProcessor {
public:
static google::protobuf::Message *process_message(const std::string &serializedMessage);
};
#endif //COMPLIB_SERVER_MESSAGEPROCESSOR_HPP