#ifndef BMAPOP3Server_h__ #define BMAPOP3Server_h__ #include "includes" #include "BMATCPServerSocket.h" #include "BMACommand.h" class BMATCPSocket; class BMAPOP3Server : public BMATCPServerSocket { public: BMAPOP3Server(BMAEPoll &ePoll, std::string url, short int port); ~BMAPOP3Server(); BMASession * getSocketAccept(); void registerCommand(BMACommand &command); int processCommand(BMASession *session) override; /// commands; }; #endif