BARANTMail/POP3Command.h
2022-07-08 19:30:00 -07:00

28 lines
587 B
C++

#ifndef __POP3Command_h__
# define __POP3Command_h__
# include "Command.h"
# include "TCPSession.h"
# include "POP3Session.h"
namespace mail {
class POP3Server;
class POP3Command : public core::Command {
public:
virtual int processCommand(coreutils::ZString &request, core::TCPSession &session) override {
return processCommand(request, (POP3Session &)session, (POP3Server &)session.server);
}
virtual int processCommand(coreutils::ZString request, POP3Session &session, POP3Server &server) {
return 0;
}
};
}
#endif