oasys::SMTPHandlerThread Class Reference

#include <SMTPServer.h>

Inheritance diagram for oasys::SMTPHandlerThread:

oasys::Thread

List of all members.


Detailed Description

Class for a single SMTP session.

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

SMTPHandlerhandler_
FdIOClient fdio_in_
FdIOClient fdio_out_
BufferedInput in_
BufferedOutput out_
SMTP smtp_
Notifiersession_done_

Constructor & Destructor Documentation

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]

Definition at line 63 of file SMTPServer.cc.

References handler_.


Member Function Documentation

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_.


Member Data Documentation

SMTPHandler* oasys::SMTPHandlerThread::handler_ [private]

Definition at line 74 of file SMTPServer.h.

Referenced by run(), and ~SMTPHandlerThread().

FdIOClient oasys::SMTPHandlerThread::fdio_in_ [private]

Definition at line 75 of file SMTPServer.h.

FdIOClient oasys::SMTPHandlerThread::fdio_out_ [private]

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]

Definition at line 79 of file SMTPServer.h.

Referenced by run().

Notifier* oasys::SMTPHandlerThread::session_done_ [private]

Definition at line 80 of file SMTPServer.h.

Referenced by run().


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