|
VMime
|
#include <IMAPCommand.hpp>


Public Member Functions | |
| virtual void | send (shared_ptr< IMAPConnection > conn) |
| virtual const string | getText () const |
| virtual const string | getTraceText () const |
Static Public Member Functions | |
| static shared_ptr< IMAPCommand > | LOGIN (const string &username, const string &password) |
| static shared_ptr< IMAPCommand > | AUTHENTICATE (const string &mechName) |
| static shared_ptr< IMAPCommand > | AUTHENTICATE (const string &mechName, const string &initialResponse) |
| static shared_ptr< IMAPCommand > | LIST (const string &refName, const string &mailboxName) |
| static shared_ptr< IMAPCommand > | SELECT (const bool readOnly, const string &mailboxName, const std::vector< string > ¶ms) |
| static shared_ptr< IMAPCommand > | STATUS (const string &mailboxName, const std::vector< string > &attribs) |
| static shared_ptr< IMAPCommand > | CREATE (const string &mailboxName, const std::vector< string > ¶ms) |
| static shared_ptr< IMAPCommand > | DELETE (const string &mailboxName) |
| static shared_ptr< IMAPCommand > | RENAME (const string &mailboxName, const string &newMailboxName) |
| static shared_ptr< IMAPCommand > | FETCH (const messageSet &msgs, const std::vector< string > ¶ms) |
| static shared_ptr< IMAPCommand > | STORE (const messageSet &msgs, const int mode, const std::vector< string > &flags) |
| static shared_ptr< IMAPCommand > | APPEND (const string &mailboxName, const std::vector< string > &flags, vmime::datetime *date, const size_t size) |
| static shared_ptr< IMAPCommand > | COPY (const messageSet &msgs, const string &mailboxName) |
| static shared_ptr< IMAPCommand > | SEARCH (const std::vector< string > &keys, const vmime::charset *charset) |
| static shared_ptr< IMAPCommand > | STARTTLS () |
| static shared_ptr< IMAPCommand > | CAPABILITY () |
| static shared_ptr< IMAPCommand > | NOOP () |
| static shared_ptr< IMAPCommand > | EXPUNGE () |
| static shared_ptr< IMAPCommand > | CLOSE () |
| static shared_ptr< IMAPCommand > | LOGOUT () |
| static shared_ptr< IMAPCommand > | createCommand (const string &text, const string &traceText="") |
Protected Member Functions | |
| IMAPCommand (const string &text, const string &traceText) | |
| IMAPCommand (const IMAPCommand &) | |
| Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
An IMAP command that will be sent to the server.
Referenced by createCommand(), and IMAPCommand().
|
protected |
References IMAPCommand().
|
static |
References createCommand().
Referenced by IMAPFolder::addMessage().
|
static |
References createCommand().
|
static |
References createCommand().
|
static |
References createCommand().
|
static |
References createCommand().
Referenced by IMAPFolder::close().
|
static |
References createCommand(), and messageSet::isUIDSet().
Referenced by IMAPFolder::copyMessages().
|
static |
References createCommand().
Referenced by IMAPFolder::create().
|
static |
Creates a new IMAP command with the specified text.
| text | command text |
| traceText | trace text (if empty, command text is used) |
References IMAPCommand().
Referenced by APPEND(), AUTHENTICATE(), AUTHENTICATE(), CAPABILITY(), CLOSE(), COPY(), CREATE(), DELETE(), EXPUNGE(), FETCH(), LIST(), LOGIN(), LOGOUT(), NOOP(), RENAME(), SEARCH(), SELECT(), STARTTLS(), STATUS(), and STORE().
|
static |
References createCommand().
Referenced by IMAPFolder::destroy().
|
static |
References createCommand().
Referenced by IMAPFolder::expunge().
|
static |
References createCommand(), and messageSet::isUIDSet().
Referenced by IMAPFolder::getMessages().
|
virtual |
Returns the full text of the command, including command name and parameters (if any).
This is the text that will be sent to the server.
|
virtual |
Returns the full text of the command, suitable for outputing to the tracer.
|
static |
References createCommand().
Referenced by IMAPFolder::getFolders().
|
static |
References createCommand().
|
static |
References createCommand().
|
static |
References createCommand().
Referenced by IMAPFolder::noop(), and IMAPStore::noop().
|
static |
References createCommand().
Referenced by IMAPFolder::rename().
|
static |
References createCommand(), and charset::getName().
Referenced by IMAPFolder::getMessageNumbersStartingOnUID().
|
static |
References createCommand().
Referenced by IMAPFolder::open().
|
virtual |
Sends this command over the specified connection.
| conn | connection onto which the command will be sent |
References vmime::dynamicCast().
|
static |
References createCommand().
|
static |
References createCommand().
Referenced by IMAPFolder::getStatus().
|
static |
References createCommand(), message::FLAG_MODE_ADD, message::FLAG_MODE_REMOVE, and messageSet::isUIDSet().
Referenced by IMAPFolder::deleteMessages(), and IMAPFolder::setMessageFlags().