IBBS2chProxySocket.h 350 B

12345678910111213
  1. #pragma once
  2. #include <string>
  3. class IBBS2chProxySocket {
  4. public:
  5. virtual ~IBBS2chProxySocket(){};
  6. virtual int read(char *buffer, int length) = 0;
  7. virtual int readLine(char *buffer, int maxLength) = 0;
  8. virtual int write(const char *buffer, int length) = 0;
  9. virtual int writeString(const std::string &str) = 0;
  10. virtual void close(void) = 0;
  11. };