Dacons LLP Mailit for C/C++ Version 1.0.8

Emai::Pop3StatusCallback Class Reference

EmaiPop3StatusCallback wrapper class. More...

#include <EmaiPOP3.hpp>

List of all members.

Public Member Functions

virtual ~Pop3StatusCallback ()

Static Protected Member Functions

static EmaiError StatusCallback (EmaiPop3Session inSession, const EmaiPop3CallbackData *inData, void *inUserData)

Private Member Functions

virtual EmaiError OnOperation (Pop3Session &inSession, EmaiUint32 inOperationCode)=0
 Virtual function.
virtual EmaiError OnDataReceived (Pop3Session &inSession, EmaiUint32 inReceivedSize, EmaiUint32 inTotalSize)=0
 Virtual function; will be triggered periodically while sending the message, after a certain amount of data is received.
virtual EmaiError OnServerError (Pop3Session &inSession, EmaiConstCharPtr inServerReply, EmaiUint32 inReplyCode)=0
 Virtual function; Will be triggered in case if server returns an error.

Friends

class Pop3Session


Detailed Description

EmaiPop3StatusCallback wrapper class.

See also:
Emai::Pop3Session::Pop3Session

Definition at line 34 of file EmaiPOP3.hpp.


Member Function Documentation

virtual EmaiError Emai::Pop3StatusCallback::OnOperation ( Pop3Session inSession,
EmaiUint32  inOperationCode 
) [private, pure virtual]

Virtual function.

Parameters:
EmaiSmtpSession inSession - session object of the event
EmaiUint32 inOperationCode - operation code
EmaiConstCharPtr inStatusText - status text

Referenced by StatusCallback().

virtual EmaiError Emai::Pop3StatusCallback::OnDataReceived ( Pop3Session inSession,
EmaiUint32  inReceivedSize,
EmaiUint32  inTotalSize 
) [private, pure virtual]

Virtual function; will be triggered periodically while sending the message, after a certain amount of data is received.

Parameters:
EmaiSmtpSession inSession - session object of the event
EmaiUint32 inReceivedSize - data received amount, sinse last function call
EmaiUint32 inTotalSize - total data amout to be sent

Referenced by StatusCallback().

virtual EmaiError Emai::Pop3StatusCallback::OnServerError ( Pop3Session inSession,
EmaiConstCharPtr  inServerReply,
EmaiUint32  inReplyCode 
) [private, pure virtual]

Virtual function; Will be triggered in case if server returns an error.

Parameters:
EmaiSmtpSession inSession - session object of the event
EmaiConstCharPtr inServerReply - error reply string
EmaiUint32 inReplyCode - error reply code

Referenced by StatusCallback().


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