transport Class Reference

A transport service. More...

Inheritance diagram for transport:
Inheritance graph
[legend]
Collaboration diagram for transport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void send (ref< vmime::message > msg, utility::progressListener *progress=NULL)
virtual void send (const mailbox &expeditor, const mailboxList &recipients, utility::inputStream &is, const utility::stream::size_type size, utility::progressListener *progress=NULL)=0
Type getType () const

Protected Member Functions

 transport (ref< session > sess, const serviceInfos &infos, ref< security::authenticator > auth)

Detailed Description

A transport service.

Encapsulate protocols that can send messages.


Constructor & Destructor Documentation

transport ( ref< session sess,
const serviceInfos infos,
ref< security::authenticator auth 
) [protected]

Member Function Documentation

transport::Type getType (  )  const [virtual]

Return the type of service.

Returns:
type of service

Implements service.

References service::TYPE_TRANSPORT.

virtual void send ( const mailbox expeditor,
const mailboxList recipients,
utility::inputStream is,
const utility::stream::size_type  size,
utility::progressListener progress = NULL 
) [pure virtual]

Send a message over this transport service.

Parameters:
expeditor expeditor mailbox
recipients list of recipient mailboxes
is input stream provding message data (header + body)
size size of the message data
progress progress listener, or NULL if not used

Implemented in sendmailTransport, and SMTPTransport.

void send ( ref< vmime::message msg,
utility::progressListener progress = NULL 
) [virtual]

Send a message over this transport service.

Parameters:
msg message to send
progress progress listener, or NULL if not used

References vmime::fields::BCC, vmime::fields::CC, vmime::fields::FROM, and vmime::fields::TO.


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

Generated by  doxygen 1.6.2