GNet::SocketProtocolSink Class Reference

An interface used by GNet::SocketProtocol to deliver data from a socket. More...

#include <gsocketprotocol.h>

Inheritance diagram for GNet::SocketProtocolSink:

GNet::ServerPeer GNet::SimpleClient GNet::BufferedServerPeer GNet::HeapClient GNet::ResolverImp GPop::ServerPeer GSmtp::AdminServerPeer GSmtp::ServerPeer GNet::Client GSmtp::Client GSmtp::RequestClient GSmtp::SpamClient

List of all members.

Public Member Functions

virtual ~SocketProtocolSink ()
 Destructor.

Protected Member Functions

virtual void onData (const char *, std::string::size_type)=0
 Called when data is read from the socket.
virtual void onSecure ()=0
 Called once the secure socket protocol has been successfully negotiated.

Friends

class SocketProtocolImp


Detailed Description

An interface used by GNet::SocketProtocol to deliver data from a socket.

Definition at line 96 of file gsocketprotocol.h.


Constructor & Destructor Documentation

GNet::SocketProtocolSink::~SocketProtocolSink (  )  [virtual]

Destructor.

Definition at line 494 of file gsocketprotocol.cpp.


Member Function Documentation

virtual void GNet::SocketProtocolSink::onData ( const char *  ,
std::string::size_type   
) [protected, pure virtual]

Called when data is read from the socket.

Implemented in GNet::BufferedServerPeer, GNet::Client, and GNet::ResolverImp.

virtual void GNet::SocketProtocolSink::onSecure (  )  [protected, pure virtual]

Called once the secure socket protocol has been successfully negotiated.

Implemented in GNet::ResolverImp, GSmtp::AdminServerPeer, GSmtp::RequestClient, GSmtp::Client, GSmtp::ServerPeer, GSmtp::SpamClient, and GPop::ServerPeer.


Friends And Related Function Documentation

friend class SocketProtocolImp [friend]

Definition at line 103 of file gsocketprotocol.h.


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