MFtpProtocolNotifier Class Reference

class MFtpProtocolNotifier

FTP engine callback interface.

An FTP engine client implements this interface to receive status and results from asynchronous FTP commands.

Constructor & Destructor Documentation

~MFtpProtocolNotifier()

~MFtpProtocolNotifier ( ) [inline, virtual]

Destructor.

Member Functions Documentation

ErrorNotification(const TOpComp)

void ErrorNotification ( const TOpComp aStatus ) [pure virtual]

Error condition notification.

Parameters

const TOpComp aStatus Operation completion code

ServerMessage(const TDesC8 &)

void ServerMessage ( const TDesC8 & aMessage ) [pure virtual]

Message sent by the FTP server.

This returns the full server reply in plain text format.

Parameters

const TDesC8 & aMessage The message sent by the server

ServerNegativeAnswerNotification(const TOpComp)

void ServerNegativeAnswerNotification ( const TOpComp aStatus ) [pure virtual]

Negative reply received from server.

Parameters

const TOpComp aStatus Operation completion code

ServerPositiveAnswerNotification(const TOpComp)

void ServerPositiveAnswerNotification ( const TOpComp aStatus ) [pure virtual]

Positive reply received from server.

Parameters

const TOpComp aStatus Operation completion code

ServerXFerNotification(const TOpComp)

void ServerXFerNotification ( const TOpComp aStatus ) [pure virtual]

Data transfer notification received from the server.

Parameters

const TOpComp aStatus Operation completion code

Member Enumerations Documentation

Enum TOpComp

FTP engine/session operation completeness codes.

Enumerators

EOpComplete = 0

Operation completed normally.

EOpCanceled

Operation cancelled.

EOpFailed

Operation failed.

ESocketError

Sockets level error.

EOpConnectionReset

Connection error: Connection reset.

EOpConnectionFailed

Connection error: Connection failed.

EHostNotFound

Connection error: Server not found.

EXferReset

Transfer error: Transfer was reset.

EXferNotInitialised

Transfer error: Transfer is not initialised.

EPacketReceived

Transfer notification: Data packet was received.

EPacketSent

Transfer notification: Data packet was sent.