Public Member Functions
|virtual bool||protocolSend (const std::string &, size_t offset, bool go_secure)=0|
|Called by the Protocol class to send network data to the peer. |
|virtual bool GSmtp::ClientProtocol::Sender::protocolSend||(||const std::string &||,|
Called by the Protocol class to send network data to the peer.
The offset gives the location of the payload within the string buffer.
Returns false if not all of the string was send due to flow control. In this case ClientProtocol::sendDone() should be called as soon as the full string has been sent.
Throws on error, eg. if disconnected.