IClientListener.h 297 B

123456789101112131415
  1. #ifndef ICLIENTLISTENER_H
  2. #define ICLIENTLISTENER_H
  3. #include "../stream/Stream.h"
  4. class IClientListener
  5. {
  6. public:
  7. virtual void onServerJoin(int serverSocket) = 0;
  8. virtual void onServerPackage(int serverSocket, Stream& in) = 0;
  9. virtual void onServerClose(int socket) = 0;
  10. };
  11. #endif