#include <SMTPServer.h>
Inheritance diagram for oasys::SMTPHandlerThread:
Definition at line 63 of file SMTPServer.h.
Public Member Functions | |
SMTPHandlerThread (SMTPHandler *handler, int fd_in, int fd_out, const SMTP::Config &config, Notifier *session_done) | |
virtual | ~SMTPHandlerThread () |
void | run () |
Derived classes should implement this function which will get called in the new Thread context. | |
Private Attributes | |
SMTPHandler * | handler_ |
FdIOClient | fdio_in_ |
FdIOClient | fdio_out_ |
BufferedInput | in_ |
BufferedOutput | out_ |
SMTP | smtp_ |
Notifier * | session_done_ |
oasys::SMTPHandlerThread::SMTPHandlerThread | ( | SMTPHandler * | handler, | |
int | fd_in, | |||
int | fd_out, | |||
const SMTP::Config & | config, | |||
Notifier * | session_done | |||
) |
Definition at line 49 of file SMTPServer.cc.
oasys::SMTPHandlerThread::~SMTPHandlerThread | ( | ) | [virtual] |
void oasys::SMTPHandlerThread::run | ( | ) | [virtual] |
Derived classes should implement this function which will get called in the new Thread context.
Implements oasys::Thread.
Definition at line 71 of file SMTPServer.cc.
References handler_, oasys::Notifier::notify(), oasys::SMTP::server_session(), session_done_, and smtp_.
SMTPHandler* oasys::SMTPHandlerThread::handler_ [private] |
FdIOClient oasys::SMTPHandlerThread::fdio_in_ [private] |
Definition at line 75 of file SMTPServer.h.
Definition at line 76 of file SMTPServer.h.
BufferedInput oasys::SMTPHandlerThread::in_ [private] |
Definition at line 77 of file SMTPServer.h.
BufferedOutput oasys::SMTPHandlerThread::out_ [private] |
Definition at line 78 of file SMTPServer.h.
SMTP oasys::SMTPHandlerThread::smtp_ [private] |
Notifier* oasys::SMTPHandlerThread::session_done_ [private] |