GSmtp::AdminServerPeer Class Reference

A derivation of ServerPeer for the administration interface. More...

#include <gadminserver.h>

Inheritance diagram for GSmtp::AdminServerPeer:

GNet::BufferedServerPeer GNet::ServerPeer GNet::EventHandler GNet::Connection GNet::SocketProtocolSink

List of all members.

Public Member Functions

 AdminServerPeer (GNet::Server::PeerInfo, AdminServer &, const GNet::Address &local, const std::string &remote, const G::StringMap &extra_commands, bool with_terminate)
 Constructor.
virtual ~AdminServerPeer ()
 Destructor.
void notify (const std::string &s0, const std::string &s1, const std::string &s2)
 Called when something happens.

Protected Member Functions

virtual void onSendComplete ()
 Final override from GNet::BufferedServerPeer.
virtual bool onReceive (const std::string &)
 Final override from GNet::BufferedServerPeer.
virtual void onDelete (const std::string &)
 Final override from GNet::ServerPeer.
virtual void onSecure ()
 Final override from GNet::SocketProtocolSink.


Detailed Description

A derivation of ServerPeer for the administration interface.

See also:
GSmtp::AdminServer

Definition at line 51 of file gadminserver.h.


Constructor & Destructor Documentation

GSmtp::AdminServerPeer::AdminServerPeer ( GNet::Server::PeerInfo  peer_info,
AdminServer server,
const GNet::Address local,
const std::string &  remote,
const G::StringMap extra_commands,
bool  with_terminate 
)

GSmtp::AdminServerPeer::~AdminServerPeer (  )  [virtual]


Member Function Documentation

void GSmtp::AdminServerPeer::notify ( const std::string &  s0,
const std::string &  s1,
const std::string &  s2 
)

Called when something happens.

Definition at line 221 of file gadminserver.cpp.

void GSmtp::AdminServerPeer::onSendComplete (  )  [protected, virtual]

Final override from GNet::BufferedServerPeer.

Implements GNet::ServerPeer.

Definition at line 73 of file gadminserver.cpp.

bool GSmtp::AdminServerPeer::onReceive ( const std::string &  line  )  [protected, virtual]

void GSmtp::AdminServerPeer::onDelete ( const std::string &  reason  )  [protected, virtual]

Final override from GNet::ServerPeer.

Implements GNet::ServerPeer.

Definition at line 78 of file gadminserver.cpp.

References G_LOG_S, and GNet::ServerPeer::peerAddress().

void GSmtp::AdminServerPeer::onSecure (  )  [protected, virtual]

Final override from GNet::SocketProtocolSink.

Implements GNet::SocketProtocolSink.

Definition at line 84 of file gadminserver.cpp.


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

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