|
VMime
|


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.
|
protected |
Referenced by IMAPCommand::createCommand().
|
protected |
|
static |
References IMAPCommand::COPY(), and IMAPCommand::createCommand().
Referenced by IMAPFolder::addMessage(), and IMAPCommand::STORE().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::createCommand().
Referenced by IMAPFolder::close().
|
static |
References IMAPCommand::createCommand(), messageSet::isUIDSet(), and IMAPCommand::SEARCH().
Referenced by IMAPCommand::APPEND(), and IMAPFolder::copyMessages().
|
static |
References IMAPCommand::createCommand().
Referenced by IMAPFolder::create(), and IMAPCommand::STATUS().
|
static |
Creates a new IMAP command with the specified text.
| text | command text |
| traceText | trace text (if empty, command text is used) |
References IMAPCommand::IMAPCommand().
Referenced by IMAPCommand::APPEND(), IMAPCommand::AUTHENTICATE(), IMAPCommand::CAPABILITY(), IMAPCommand::CLOSE(), IMAPCommand::COPY(), IMAPCommand::CREATE(), IMAPCommand::DELETE(), IMAPCommand::EXPUNGE(), IMAPCommand::FETCH(), IMAPCommand::LIST(), IMAPCommand::LOGIN(), IMAPCommand::LOGOUT(), IMAPCommand::NOOP(), IMAPCommand::RENAME(), IMAPCommand::SEARCH(), IMAPCommand::SELECT(), IMAPCommand::STARTTLS(), IMAPCommand::STATUS(), and IMAPCommand::STORE().
|
static |
References IMAPCommand::createCommand(), and IMAPCommand::RENAME().
Referenced by IMAPFolder::destroy().
|
static |
References IMAPCommand::createCommand().
Referenced by IMAPFolder::expunge().
|
static |
References IMAPCommand::createCommand(), messageSet::isUIDSet(), and IMAPCommand::STORE().
Referenced by IMAPMessage::fetchPartHeader(), IMAPFolder::getMessages(), and IMAPCommand::RENAME().
|
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 IMAPCommand::createCommand(), and IMAPCommand::SELECT().
Referenced by IMAPFolder::exists(), and IMAPFolder::getFolders().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::createCommand().
Referenced by IMAPStore::noop(), and IMAPFolder::noop().
|
static |
References IMAPCommand::createCommand(), and IMAPCommand::FETCH().
Referenced by IMAPCommand::DELETE(), and IMAPFolder::rename().
|
static |
References IMAPCommand::createCommand(), and charset::getName().
Referenced by IMAPCommand::COPY(), and IMAPFolder::getMessageNumbersStartingOnUID().
|
static |
References IMAPCommand::createCommand(), and IMAPCommand::STATUS().
Referenced by IMAPCommand::LIST(), and IMAPFolder::open().
|
virtual |
Sends this command over the specified connection.
| conn | connection onto which the command will be sent |
Referenced by IMAPFolder::addMessage().
|
static |
References IMAPCommand::createCommand().
|
static |
References IMAPCommand::CREATE(), and IMAPCommand::createCommand().
Referenced by IMAPFolder::getStatus(), and IMAPCommand::SELECT().
|
static |