class MFtpProtocolNotifier |
FTP engine callback interface.
An FTP engine client implements this interface to receive status and results from asynchronous FTP commands.
Public Member Functions | |
---|---|
~MFtpProtocolNotifier() | |
void | ErrorNotification(const TOpComp) |
void | ServerMessage(const TDesC8 &) |
void | ServerNegativeAnswerNotification(const TOpComp) |
void | ServerPositiveAnswerNotification(const TOpComp) |
void | ServerXFerNotification(const TOpComp) |
Public Member Enumerations | |
---|---|
enum | TOpComp { EOpComplete = 0, EOpCanceled, EOpFailed, ESocketError, EOpConnectionReset, EOpConnectionFailed, EHostNotFound, EXferReset, EXferNotInitialised, EPacketReceived, EPacketSent } |
void | ErrorNotification | ( | const TOpComp | aStatus | ) | [pure virtual] |
Error condition notification.
const TOpComp aStatus | Operation completion code |
void | ServerMessage | ( | const TDesC8 & | aMessage | ) | [pure virtual] |
Message sent by the FTP server.
This returns the full server reply in plain text format.
const TDesC8 & aMessage | The message sent by the server |
void | ServerNegativeAnswerNotification | ( | const TOpComp | aStatus | ) | [pure virtual] |
Negative reply received from server.
const TOpComp aStatus | Operation completion code |
void | ServerPositiveAnswerNotification | ( | const TOpComp | aStatus | ) | [pure virtual] |
Positive reply received from server.
const TOpComp aStatus | Operation completion code |
void | ServerXFerNotification | ( | const TOpComp | aStatus | ) | [pure virtual] |
Data transfer notification received from the server.
const TOpComp aStatus | Operation completion code |
FTP engine/session operation completeness codes.
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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.