based on reworked servercore.

This commit is contained in:
barant committed 2020-02-29 19:25:13 -08:00
1 parent 50eb707f10
commit db3e82a18e
1698 files changed
+41157 -797

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#ifndef __POP3Command_h__
# define __POP3Command_h__
# include "Command.h"
# include "TCPSession.h"
# include "POP3Session.h"
namespace mail {
class POP3Command : public core::Command {
public:
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override {
coreutils::PString parser(request);
return processCommand(parser, (POP3Session &)*session, data);
}
virtual int processCommand(coreutils::PString request, POP3Session &session, std::stringstream &data) {}
};
}
#endif