#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