oasys::SMTPHandler Class Reference

#include <SMTP.h>

Inheritance diagram for oasys::SMTPHandler:

oasys::BasicSMTPHandler

List of all members.


Detailed Description

Interface for a handler to process incoming SMTP messages.

Definition at line 116 of file SMTP.h.


Public Member Functions

virtual ~SMTPHandler ()
virtual int smtp_HELO (const char *domain)=0
virtual int smtp_MAIL (const char *from)=0
virtual int smtp_RCPT (const char *to)=0
virtual int smtp_RSET ()=0
virtual int smtp_QUIT ()=0
virtual int smtp_DATA_begin ()=0
virtual int smtp_DATA_line (const char *line)=0
virtual int smtp_DATA_end ()=0

Constructor & Destructor Documentation

virtual oasys::SMTPHandler::~SMTPHandler (  )  [inline, virtual]

Definition at line 118 of file SMTP.h.


Member Function Documentation

virtual int oasys::SMTPHandler::smtp_HELO ( const char *  domain  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_MAIL ( const char *  from  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_RCPT ( const char *  to  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_RSET (  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_QUIT (  )  [pure virtual]

Returns:
-1 to disconnect, otherwise error code given in response code.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_DATA_begin (  )  [pure virtual]

Returns:
-1 to disconnect, 0 on no error, otherwise error code given in response code. smtp_DATA_end always returns a response code, never 0.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_DATA_line ( const char *  line  )  [pure virtual]

Returns:
-1 to disconnect, 0 on no error, otherwise error code given in response code. smtp_DATA_end always returns a response code, never 0.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().

virtual int oasys::SMTPHandler::smtp_DATA_end (  )  [pure virtual]

Returns:
-1 to disconnect, 0 on no error, otherwise error code given in response code. smtp_DATA_end always returns a response code, never 0.

Implemented in oasys::BasicSMTPHandler.

Referenced by oasys::SMTP::process_cmd().


The documentation for this class was generated from the following file:
Generated on Sat Sep 8 08:36:25 2007 for DTN Reference Implementation by  doxygen 1.5.3