IBR-DTN  1.0.0
dtn::net::EMailImapService Class Reference

#include <EMailImapService.h>

Inheritance diagram for dtn::net::EMailImapService:
Inheritance graph
Collaboration diagram for dtn::net::EMailImapService:
Collaboration graph

Public Member Functions

void run () throw ()
 
void __cancellation () throw ()
 
void storeProcessedTask (EMailSmtpService::Task *task)
 
void fetchMails ()
 

Static Public Member Functions

static EMailImapServicegetInstance ()
 

Detailed Description

Definition at line 35 of file EMailImapService.h.

Member Function Documentation

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.

EMailImapService & dtn::net::EMailImapService::getInstance ( )
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

Parameters
Thetask to be stored

Definition at line 212 of file EMailImapService.cpp.

Referenced by dtn::net::EMailSmtpService::run().


The documentation for this class was generated from the following files: