listen_interface.h 218 B

12345678910
  1. #ifndef __LISTEN_INTERFACE_H__
  2. #define __LISTEN_INTERFACE_H__
  3. #include <string>
  4. class ListenInterface {
  5. virtual void onMessageReceived(int socket_id, std::string message) = 0;
  6. };
  7. #endif // __LISTEN_INTERFACE_H__