#include <SMTPServer.h>
Inheritance diagram for oasys::SMTPServer:

Definition at line 55 of file SMTPServer.h.
Public Member Functions | |
| SMTPServer (const SMTP::Config &config, SMTPHandlerFactory *handler_factory, Notifier *session_done=NULL, int accept_timeout=-1) | |
Private Member Functions | |
| void | accepted (int fd, in_addr_t addr, u_int16_t port) |
| Virtual callback hook that gets called when new connections arrive. | |
Private Attributes | |
| SMTP::Config | config_ |
| SMTPHandlerFactory * | handler_factory_ |
| Notifier * | session_done_ |
| oasys::SMTPServer::SMTPServer | ( | const SMTP::Config & | config, | |
| SMTPHandlerFactory * | handler_factory, | |||
| Notifier * | session_done = NULL, |
|||
| int | accept_timeout = -1 | |||
| ) |
Definition at line 44 of file SMTPServer.cc.
References oasys::SMTP::Config::addr_, oasys::TCPServerThread::bind_listen_start(), intoa, oasys::Logger::logpathf(), and oasys::SMTP::Config::port_.
| void oasys::SMTPServer::accepted | ( | int | fd, | |
| in_addr_t | addr, | |||
| u_int16_t | port | |||
| ) | [private, virtual] |
Virtual callback hook that gets called when new connections arrive.
Implements oasys::TCPServerThread.
Definition at line 59 of file SMTPServer.cc.
References config_, handler_factory_, oasys::SMTPHandlerFactory::new_handler(), session_done_, and oasys::Thread::start().
SMTP::Config oasys::SMTPServer::config_ [private] |
Notifier* oasys::SMTPServer::session_done_ [private] |
1.5.1