/home/bradarant/barant/BMAMail/IMAPCommand.h
Go to the documentation of this file.
#ifndef __IMAPCommand_h__
# define __IMAPCommand_h__
# include "Command.h"
# include "TCPSession.h"
# include "IMAPSession.h"
namespace mail {
class IMAPCommand : public core::Command {
public:
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override {
coreutils::PString parser(request);
return processCommand(parser, (IMAPSession &)*session, data);
}
virtual int processCommand(coreutils::PString request, IMAPSession &session, std::stringstream &data) {}
};
}
#endif
mail::IMAPCommand::processCommand
virtual int processCommand(coreutils::PString request, IMAPSession &session, std::stringstream &data)
Definition: IMAPCommand.h:18
mail
Definition: __IMAP_APPEND.h:7
mail::IMAPCommand
Definition: IMAPCommand.h:10
IMAPSession.h
mail::IMAPCommand::processCommand
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override
Definition: IMAPCommand.h:13
mail::IMAPSession
Definition: IMAPSession.h:6