send_interface.h 277 B

12345678910111213
  1. #ifndef __SEND_INTERFACE_H__
  2. #define __SEND_INTERFACE_H__
  3. #include <memory>
  4. #include <string>
  5. class SendInterface {
  6. public:
  7. virtual void sendMessage(int client_socket_fd,
  8. std::shared_ptr<char[]> message) = 0;
  9. };
  10. #endif // __SEND_INTERFACE_H__