|
VMime
|
#include <maildirStore.hpp>


Static Public Member Functions | |
| static const serviceInfos & | getInfosInstance () |
Additional Inherited Members | |
Public Types inherited from store | |
| enum | Capabilities { CAPABILITY_CREATE_FOLDER = (1 << 0) , CAPABILITY_RENAME_FOLDER = (1 << 1) , CAPABILITY_ADD_MESSAGE = (1 << 2) , CAPABILITY_COPY_MESSAGE = (1 << 3) , CAPABILITY_DELETE_MESSAGE = (1 << 4) , CAPABILITY_PARTIAL_FETCH = (1 << 5) , CAPABILITY_MESSAGE_FLAGS = (1 << 6) , CAPABILITY_EXTRACT_PART = (1 << 7) } |
Public Types inherited from service | |
| enum | Type { TYPE_STORE = 0 , TYPE_TRANSPORT } |
Protected Member Functions inherited from store | |
| store (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
Protected Member Functions inherited from service | |
| service (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
Protected Member Functions inherited from object | |
| object () | |
| object (const object &) | |
| object & | operator= (const object &) |
| virtual | ~object () |
maildir store service.
| maildirStore | ( | shared_ptr< session > | sess, |
| shared_ptr< security::authenticator > | auth | ||
| ) |
| ~maildirStore | ( | ) |
References maildirStore::disconnect(), and maildirStore::isConnected().
|
virtual |
Connect to service.
Implements service.
References maildirFormat::detect(), vmime::dynamicCast(), GET_PROPERTY, platform::getHandler(), and maildirStore::isConnected().
|
virtual |
Disconnect from service.
Implements service.
References vmime::dynamicCast().
Referenced by maildirStore::~maildirStore().
|
virtual |
Return the features supported by this service.
This is a combination of store::CAPABILITY_xxx flags.
Implements store.
References store::CAPABILITY_ADD_MESSAGE, store::CAPABILITY_COPY_MESSAGE, store::CAPABILITY_CREATE_FOLDER, store::CAPABILITY_DELETE_MESSAGE, store::CAPABILITY_EXTRACT_PART, store::CAPABILITY_MESSAGE_FLAGS, store::CAPABILITY_PARTIAL_FETCH, and store::CAPABILITY_RENAME_FOLDER.
|
virtual |
Get information about the connection.
Implements service.
References vmime::dynamicCast().
|
virtual |
Return the default folder.
This is protocol dependent and usually is the INBOX folder.
Implements store.
References vmime::dynamicCast(), maildirStore::isConnected(), and maildirStore::maildirFolder.
| const utility::path & getFileSystemPath | ( | ) | const |
|
virtual |
Return the folder specified by the path.
| path | absolute folder path |
Implements store.
References vmime::dynamicCast(), maildirStore::isConnected(), and maildirStore::maildirFolder.
| shared_ptr< maildirFormat > getFormat | ( | ) |
| shared_ptr< const maildirFormat > getFormat | ( | ) | const |
|
virtual |
|
static |
|
virtual |
Return the root folder.
This is protocol dependent and usually is the user's mail drop root folder.
Implements store.
References vmime::dynamicCast(), maildirStore::isConnected(), and maildirStore::maildirFolder.
|
virtual |
Test whether this service is connected.
Implements service.
Referenced by maildirStore::connect(), maildirStore::getDefaultFolder(), maildirStore::getFolder(), maildirStore::getRootFolder(), and maildirStore::~maildirStore().
|
virtual |
Check whether the connection is secured.
Implements service.
|
virtual |
Test whether the specified folder name is a syntactically a valid name.
Implements store.
References vmime::dynamicCast(), word::getBuffer(), platform::getHandler(), and stringUtils::trim().
|
virtual |
Do nothing but ensure the server do not disconnect (for example, this can reset the auto-logout timer on the server, if one exists).
Implements service.