Public Member Functions

MailTransport.Context Interface Reference

Provides message presentation and call-back context for the instance of MailTransport class. More...

Inheritance diagram for MailTransport.Context:
Inheritance graph
[legend]

List of all members.

Public Member Functions

abstract void println (String str)
 Logs message terminated with new line.
abstract void onSendCompleted (String errorMessage)
 On send completed call-back.

Detailed Description

Provides message presentation and call-back context for the instance of MailTransport class.

Definition at line 50 of file MailTransport.java.


Member Function Documentation

abstract void MailTransport.Context.onSendCompleted ( String  errorMessage ) [pure virtual]

On send completed call-back.

Parameters:
errorMessageerror message if <> null, otherwise success

Implemented in SendMailApp.

Referenced by MailTransport.run().

abstract void MailTransport.Context.println ( String  str ) [pure virtual]

Logs message terminated with new line.

Parameters:
strmessage that will be logged

Implemented in SendMailApp.

Referenced by MailTransport.run().


The documentation for this interface was generated from the following file: