1 #ifndef __POP3Service_h__ 2 #define __POP3Service_h__ 24 POP3Service(core::EPoll &epoll, std::string
hostName, std::string mailPath, core::IPAddress ipAddress)
25 : TCPServer(epoll, ipAddress),
mailFileSystem(mailPath), hostName(hostName) {
26 commands.add(_pop3_dele,
"DELE");
27 commands.add(_pop3_last,
"LAST");
28 commands.add(_pop3_list,
"LIST");
29 commands.add(_pop3_noop,
"NOOP");
30 commands.add(_pop3_pass,
"PASS");
31 commands.add(_pop3_quit,
"QUIT");
32 commands.add(_pop3_retr,
"RETR");
33 commands.add(_pop3_rpop,
"RPOP");
34 commands.add(_pop3_rset,
"RSET");
35 commands.add(_pop3_stat,
"STAT");
36 commands.add(_pop3_top,
"TOP");
37 commands.add(_pop3_user,
"USER");
Definition: __POP3_LIST.h:9
Definition: __POP3_QUIT.h:9
POP3Service(core::EPoll &epoll, std::string hostName, std::string mailPath, core::IPAddress ipAddress)
Definition: POP3Service.h:24
Definition: MailFileSystem.h:10
Definition: __POP3_TOP.h:9
Definition: __POP3_DELE.h:9
Definition: __POP3_NOOP.h:9
Definition: __IMAP_APPEND.h:7
Definition: __POP3_STAT.h:9
MailFileSystem mailFileSystem
Definition: POP3Service.h:40
Definition: __POP3_USER.h:9
Definition: __POP3_PASS.h:9
Definition: __POP3_LAST.h:9
std::string hostName
Definition: POP3Service.h:41
Definition: __POP3_RSET.h:9
Definition: __POP3_RPOP.h:9
Definition: __POP3_RETR.h:9
Definition: POP3Service.h:21