/home/bradarant/barant/BMAMail/POP3Command.h
Go to the documentation of this file.
#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
mail::POP3Command::processCommand
virtual int processCommand(coreutils::PString request, POP3Session &session, std::stringstream &data)
Definition: POP3Command.h:18
mail::POP3Command
Definition: POP3Command.h:10
mail::POP3Command::processCommand
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override
Definition: POP3Command.h:13
mail
Definition: __IMAP_APPEND.h:7
mail::POP3Session
Definition: POP3Session.h:6
POP3Session.h