#ifndef BMAConsoleServer_h__ #define BMAConsoleServer_h__ #include "includes" #include "BMATCPServerSocket.h" #include "BMACommand.h" class BMATCPSocket; /// /// BMASMTPServer /// /// Use this object to create a fully supported SMTP server. /// class BMASMTPServer : public BMATCPServerSocket { public: BMASMTPServer(BMAEPoll &ePoll, std::string url, short int port); ~BMASMTPServer(); BMASession * getSocketAccept() override; void registerCommand(BMACommand &command); int processCommand(BMASession *session) override; /// commands; }; #endif