maildir store service. More...


Public Member Functions | |
| maildirStore (ref< session > sess, ref< security::authenticator > auth) | |
| ~maildirStore () | |
| const string | getProtocolName () const |
| ref< folder > | getDefaultFolder () |
| ref< folder > | getRootFolder () |
| ref< folder > | getFolder (const folder::path &path) |
| bool | isValidFolderName (const folder::path::component &name) const |
| const serviceInfos & | getInfos () const |
| void | connect () |
| bool | isConnected () const |
| void | disconnect () |
| void | noop () |
| const utility::path & | getFileSystemPath () const |
| int | getCapabilities () const |
| bool | isSecuredConnection () const |
| ref< connectionInfos > | getConnectionInfos () const |
| ref< maildirFormat > | getFormat () |
| ref< const maildirFormat > | getFormat () const |
Static Public Member Functions | |
| static const serviceInfos & | getInfosInstance () |
maildir store service.
| maildirStore | ( | ref< session > | sess, | |
| ref< security::authenticator > | auth | |||
| ) |
| ~maildirStore | ( | ) |
References maildirStore::disconnect(), and maildirStore::isConnected().
| void connect | ( | ) | [virtual] |
Connect to service.
Implements service.
References maildirFormat::detect(), GET_PROPERTY, platform::getHandler(), and maildirStore::isConnected().
| void disconnect | ( | ) | [virtual] |
| int getCapabilities | ( | ) | const [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.
| ref< connectionInfos > getConnectionInfos | ( | ) | const [virtual] |
| ref< folder > getDefaultFolder | ( | ) | [virtual] |
Return the default folder.
This is protocol dependent and usually is the INBOX folder.
Implements store.
References maildirStore::isConnected().
| const utility::path & getFileSystemPath | ( | ) | const |
| ref< folder > getFolder | ( | const folder::path & | path | ) | [virtual] |
Return the folder specified by the path.
| path | absolute folder path |
Implements store.
References maildirStore::isConnected().
| ref< const maildirFormat > getFormat | ( | ) | const |
| ref< maildirFormat > getFormat | ( | ) |
| const serviceInfos & getInfos | ( | ) | const [virtual] |
| const serviceInfos & getInfosInstance | ( | ) | [static] |
| const string getProtocolName | ( | ) | const [virtual] |
| ref< folder > getRootFolder | ( | ) | [virtual] |
Return the root folder.
This is protocol dependent and usually is the user's mail drop root folder.
Implements store.
References maildirStore::isConnected().
| bool isConnected | ( | ) | const [virtual] |
Test whether this service is connected.
Implements service.
Referenced by maildirStore::connect(), maildirStore::getDefaultFolder(), maildirStore::getFolder(), maildirStore::getRootFolder(), and maildirStore::~maildirStore().
| bool isSecuredConnection | ( | ) | const [virtual] |
Check whether the connection is secured.
Implements service.
| bool isValidFolderName | ( | const folder::path::component & | name | ) | const [virtual] |
Test whether the specified folder name is a syntactically a valid name.
Implements store.
References word::getBuffer(), platform::getHandler(), and stringUtils::trim().
| void noop | ( | ) | [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.
1.6.2