E-MailRelay
|
An interface used by GNet::SocketProtocol to deliver data from a socket. More...
#include <gsocketprotocol.h>
Public Member Functions | |
virtual | ~SocketProtocolSink ()=default |
Destructor. | |
virtual void | onData (const char *, std::size_t)=0 |
Called when data is read from the socket. More... | |
virtual void | onSecure (const std::string &peer_certificate, const std::string &protocol, const std::string &cipher)=0 |
Called once the secure socket protocol has been successfully negotiated. | |
An interface used by GNet::SocketProtocol to deliver data from a socket.
Definition at line 148 of file gsocketprotocol.h.
|
pure virtual |
Called when data is read from the socket.
Implemented in GNet::ServerPeer.