VMime
|
Static Public Member Functions | |
static const serviceInfos & | getInfosInstance () |
Protected Member Functions | |
shared_ptr< IMAPConnection > | connection () |
void | registerFolder (IMAPFolder *folder) |
void | unregisterFolder (IMAPFolder *folder) |
![]() | |
store (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
![]() | |
service (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth) | |
![]() | |
object () | |
object (const object &) | |
object & | operator= (const object &) |
virtual | ~object () |
Protected Attributes | |
shared_ptr< IMAPConnection > | m_connection |
std::list< IMAPFolder * > | m_folders |
const bool | m_isIMAPS |
Static Protected Attributes | |
static IMAPServiceInfos | sm_infos |
Additional Inherited Members | |
![]() | |
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) } |
![]() | |
enum | Type { TYPE_STORE = 0, TYPE_TRANSPORT } |
IMAP store service.
IMAPStore | ( | shared_ptr< session > | sess, |
shared_ptr< security::authenticator > | auth, | ||
const bool | secured = false |
||
) |
~IMAPStore | ( | ) |
References IMAPStore::disconnect(), and IMAPStore::isConnected().
|
virtual |
Connect to service.
Implements service.
References service::getAuthenticator(), IMAPStore::isConnected(), and IMAPStore::m_connection.
|
protected |
References IMAPStore::m_connection.
|
virtual |
Disconnect from service.
Implements service.
References IMAPStore::isConnected(), IMAPStore::m_connection, and IMAPStore::m_folders.
Referenced by IMAPStore::~IMAPStore().
|
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.
shared_ptr< IMAPConnection > getConnection | ( | ) |
References IMAPStore::m_connection.
|
virtual |
Get information about the connection.
Implements service.
References IMAPStore::m_connection.
|
virtual |
Return the default folder.
This is protocol dependent and usually is the INBOX folder.
Implements store.
References IMAPStore::isConnected().
|
virtual |
Return the folder specified by the path.
path | absolute folder path |
Implements store.
References IMAPStore::isConnected().
|
virtual |
Return information about this service.
Implements service.
References IMAPStore::sm_infos.
|
static |
References IMAPStore::sm_infos.
|
virtual |
|
virtual |
Return the root folder.
This is protocol dependent and usually is the user's mail drop root folder.
Implements store.
References IMAPStore::isConnected().
|
virtual |
Test whether this service is connected.
Implements service.
References IMAPStore::m_connection.
Referenced by IMAPStore::connect(), IMAPStore::disconnect(), IMAPStore::getDefaultFolder(), IMAPStore::getFolder(), IMAPStore::getRootFolder(), IMAPStore::noop(), and IMAPStore::~IMAPStore().
bool isIMAPS | ( | ) | const |
References IMAPStore::m_isIMAPS.
|
virtual |
Check whether the connection is secured.
Implements service.
References IMAPStore::m_connection.
|
virtual |
Test whether the specified folder name is a syntactically a valid name.
Implements store.
|
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.
References IMAPStore::isConnected(), IMAPStore::m_connection, IMAPStore::m_folders, and IMAPCommand::NOOP().
|
protected |
References IMAPStore::m_folders.
|
protected |
References IMAPStore::m_folders.
|
protected |
|
protected |
Referenced by IMAPStore::disconnect(), IMAPStore::noop(), IMAPStore::registerFolder(), and IMAPStore::unregisterFolder().
|
protected |
Referenced by IMAPStore::isIMAPS().
|
staticprotected |
Referenced by IMAPStore::getInfos(), and IMAPStore::getInfosInstance().