IBR-DTN
1.0.0
|
#include <EMailImapService.h>
Public Member Functions | |
void | run () throw () |
void | __cancellation () throw () |
void | storeProcessedTask (EMailSmtpService::Task *task) |
void | fetchMails () |
Static Public Member Functions | |
static EMailImapService & | getInstance () |
Definition at line 35 of file EMailImapService.h.
void dtn::net::EMailImapService::__cancellation | ( | ) | ||
throw | ( | |||
) |
The cancellation method of the thread
Definition at line 205 of file EMailImapService.cpp.
void dtn::net::EMailImapService::fetchMails | ( | ) |
Queries the IMAP server for new mails
Definition at line 218 of file EMailImapService.cpp.
|
static |
Returns the instance of the IMAP service
Definition at line 38 of file EMailImapService.cpp.
Referenced by dtn::net::EMailSmtpService::run().
void dtn::net::EMailImapService::run | ( | void | ) | ||
throw | ( | ||||
) |
The run method of the thread
Definition at line 183 of file EMailImapService.cpp.
void dtn::net::EMailImapService::storeProcessedTask | ( | EMailSmtpService::Task * | task | ) |
Stores the given tasks in a list. After each fetch this list will be run through and all tasks will be checked if their returning mail limit is reached. If the limit is reached the task will be deleted
The | task to be stored |
Definition at line 212 of file EMailImapService.cpp.
Referenced by dtn::net::EMailSmtpService::run().