IBR-DTNSuite  0.12
dtn::net::EMailSmtpService::Task Class Reference

#include <EMailSmtpService.h>

Collaboration diagram for dtn::net::EMailSmtpService::Task:
Collaboration graph

Public Member Functions

 Task (const dtn::core::Node &node, const dtn::net::BundleTransfer &job, std::string recipient)
 
virtual ~Task ()
 
const dtn::core::Node getNode ()
 
const dtn::net::BundleTransfer getJob ()
 
std::string getRecipient ()
 
bool checkForReturningMail ()
 

Detailed Description

The task object which encapsulates a submit task for the SMTP service

Definition at line 46 of file EMailSmtpService.h.

Constructor & Destructor Documentation

dtn::net::EMailSmtpService::Task::Task ( const dtn::core::Node node,
const dtn::net::BundleTransfer job,
std::string  recipient 
)

The constructor

Parameters
nodeThe destination node
bidThe bundle id
recipientThe email address of the recipient

Definition at line 454 of file EMailSmtpService.cpp.

dtn::net::EMailSmtpService::Task::~Task ( )
virtual

Default destructor

Definition at line 457 of file EMailSmtpService.cpp.

Member Function Documentation

bool dtn::net::EMailSmtpService::Task::checkForReturningMail ( )
Returns
True, if this task needs be be checked for returning mails

Definition at line 474 of file EMailSmtpService.cpp.

References dtn::daemon::Configuration::getInstance().

Here is the call graph for this function:

const dtn::net::BundleTransfer dtn::net::EMailSmtpService::Task::getJob ( )
Returns
The bundle id

Definition at line 464 of file EMailSmtpService.cpp.

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

const dtn::core::Node dtn::net::EMailSmtpService::Task::getNode ( )
Returns
The destination node

Definition at line 459 of file EMailSmtpService.cpp.

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

std::string dtn::net::EMailSmtpService::Task::getRecipient ( )
Returns
The email address of the recipient

Definition at line 469 of file EMailSmtpService.cpp.


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