oasys::SMTPFdClient Class Reference

#include <SMTPClient.h>

List of all members.


Detailed Description

Debugging class to provide basically the same functionality only using a pair of file descriptors, not a socket.

Definition at line 49 of file SMTPClient.h.


Public Member Functions

 SMTPFdClient (int fd_in, int fd_out, const char *logpath="/oasys/smtp/client")
 Default constructor.
int send_message (SMTPSender *sender)
 Send a message using the SMTPSender interface.

Protected Attributes

FdIOClient fdio_in_
FdIOClient fdio_out_
BufferedInput in_
BufferedOutput out_
SMTP smtp_
bool first_session_

Constructor & Destructor Documentation

oasys::SMTPFdClient::SMTPFdClient ( int  fd_in,
int  fd_out,
const char *  logpath = "/oasys/smtp/client" 
)

Default constructor.

Definition at line 38 of file SMTPClient.cc.


Member Function Documentation

int oasys::SMTPFdClient::send_message ( SMTPSender sender  ) 

Send a message using the SMTPSender interface.

Returns 0 on success, an SMTP error code on failure.

Definition at line 47 of file SMTPClient.cc.

References oasys::SMTP::client_session(), first_session_, and smtp_.


Member Data Documentation

FdIOClient oasys::SMTPFdClient::fdio_in_ [protected]

Definition at line 60 of file SMTPClient.h.

FdIOClient oasys::SMTPFdClient::fdio_out_ [protected]

Definition at line 61 of file SMTPClient.h.

BufferedInput oasys::SMTPFdClient::in_ [protected]

Definition at line 62 of file SMTPClient.h.

BufferedOutput oasys::SMTPFdClient::out_ [protected]

Definition at line 63 of file SMTPClient.h.

SMTP oasys::SMTPFdClient::smtp_ [protected]

Definition at line 64 of file SMTPClient.h.

Referenced by send_message().

bool oasys::SMTPFdClient::first_session_ [protected]

Definition at line 65 of file SMTPClient.h.

Referenced by send_message().


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