#include <BasicSMTP.h>
Inheritance diagram for oasys::BasicSMTPHandler:
Definition at line 106 of file BasicSMTP.h.
Public Member Functions | |
BasicSMTPHandler () | |
virtual void | message_recvd (const BasicSMTPMsg &msg)=0 |
int | smtp_HELO (const char *domain) |
virtual from SMTPHandler | |
int | smtp_MAIL (const char *from) |
virtual from SMTPHandler | |
int | smtp_RCPT (const char *to) |
virtual from SMTPHandler | |
int | smtp_DATA_begin () |
virtual from SMTPHandler | |
int | smtp_DATA_line (const char *line) |
virtual from SMTPHandler | |
int | smtp_DATA_end () |
virtual from SMTPHandler | |
int | smtp_RSET () |
virtual from SMTPHandler | |
int | smtp_QUIT () |
virtual from SMTPHandler | |
Private Attributes | |
BasicSMTPMsg | cur_msg_ |
Current message that is being worked on. |
oasys::BasicSMTPHandler::BasicSMTPHandler | ( | ) |
Definition at line 87 of file BasicSMTP.cc.
int oasys::BasicSMTPHandler::smtp_HELO | ( | const char * | domain | ) | [virtual] |
int oasys::BasicSMTPHandler::smtp_MAIL | ( | const char * | from | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 101 of file BasicSMTP.cc.
References cur_msg_, and oasys::BasicSMTPMsg::from_.
int oasys::BasicSMTPHandler::smtp_RCPT | ( | const char * | to | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 113 of file BasicSMTP.cc.
References cur_msg_, and oasys::BasicSMTPMsg::to_.
int oasys::BasicSMTPHandler::smtp_DATA_begin | ( | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 139 of file BasicSMTP.cc.
References ASSERT, cur_msg_, and oasys::BasicSMTPMsg::msg_.
int oasys::BasicSMTPHandler::smtp_DATA_line | ( | const char * | line | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 147 of file BasicSMTP.cc.
References cur_msg_, and oasys::BasicSMTPMsg::msg_.
int oasys::BasicSMTPHandler::smtp_DATA_end | ( | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 157 of file BasicSMTP.cc.
References oasys::BasicSMTPMsg::clear(), cur_msg_, message_recvd(), and oasys::BasicSMTPMsg::valid().
int oasys::BasicSMTPHandler::smtp_RSET | ( | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 125 of file BasicSMTP.cc.
int oasys::BasicSMTPHandler::smtp_QUIT | ( | ) | [virtual] |
virtual from SMTPHandler
Implements oasys::SMTPHandler.
Definition at line 132 of file BasicSMTP.cc.
virtual void oasys::BasicSMTPHandler::message_recvd | ( | const BasicSMTPMsg & | msg | ) | [pure virtual] |
Referenced by smtp_DATA_end().
Current message that is being worked on.
Definition at line 125 of file BasicSMTP.h.
Referenced by smtp_DATA_begin(), smtp_DATA_end(), smtp_DATA_line(), smtp_MAIL(), and smtp_RCPT().