GSmtp::ServerProtocolText Class Reference

A default implementation for the ServerProtocol::Text interface. More...

#include <gserverprotocol.h>

Inheritance diagram for GSmtp::ServerProtocolText:

GSmtp::ServerProtocol::Text

List of all members.

Public Member Functions

 ServerProtocolText (const std::string &ident, const std::string &thishost, const GNet::Address &peer_address)
 Constructor.
virtual std::string greeting () const
 Final override from GSmtp::ServerProtocol::Text.
virtual std::string hello (const std::string &peer_name_from_helo) const
 Final override from GSmtp::ServerProtocol::Text.
virtual std::string received (const std::string &peer_name_from_helo) const
 Final override from GSmtp::ServerProtocol::Text.

Static Public Member Functions

static std::string receivedLine (const std::string &peer_name_from_helo, const std::string &peer_address, const std::string &thishost)
 Returns a standard "Received:" line.


Detailed Description

A default implementation for the ServerProtocol::Text interface.

Definition at line 269 of file gserverprotocol.h.


Constructor & Destructor Documentation

GSmtp::ServerProtocolText::ServerProtocolText ( const std::string &  ident,
const std::string &  thishost,
const GNet::Address peer_address 
)

Constructor.

Definition at line 801 of file gserverprotocol.cpp.


Member Function Documentation

std::string GSmtp::ServerProtocolText::greeting (  )  const [virtual]

Final override from GSmtp::ServerProtocol::Text.

Implements GSmtp::ServerProtocol::Text.

Definition at line 809 of file gserverprotocol.cpp.

std::string GSmtp::ServerProtocolText::hello ( const std::string &  peer_name_from_helo  )  const [virtual]

Final override from GSmtp::ServerProtocol::Text.

Implements GSmtp::ServerProtocol::Text.

Definition at line 814 of file gserverprotocol.cpp.

std::string GSmtp::ServerProtocolText::received ( const std::string &  peer_name_from_helo  )  const [virtual]

Final override from GSmtp::ServerProtocol::Text.

Implements GSmtp::ServerProtocol::Text.

Definition at line 819 of file gserverprotocol.cpp.

References GNet::Address::displayString(), and receivedLine().

std::string GSmtp::ServerProtocolText::receivedLine ( const std::string &  peer_name_from_helo,
const std::string &  peer_address,
const std::string &  thishost 
) [static]


The documentation for this class was generated from the following files:

Generated on Fri Apr 18 15:56:14 2008 for E-MailRelay by  doxygen 1.5.5