Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <TELSESS.H>

Class MTelnetNotification

class MTelnetNotification;

Description

Symbian telnet notification interface.

Informs the client when an error occurs, when reads and writes have completed, when a connection is made or closed and when configuration options change.

Members

Defined in MTelnetNotification:


Member functions


Error(TInt)

virtual void Error(TInt aError)=0;

Description

Miscellaneous Error callback.

Reports errors on the Telnet connection.

The error code is supplied by the server. If this function is called, it is likely that the connection has failed. Therefore it is recommended that the client disconnects and resets its state.

Parameters

TInt aError

Error code from server.


ReadComplete(const TDesC8 &)

virtual void ReadComplete(const TDesC8 &aBuffer)=0;

Description

Last Read to Server completion callback.

Passes the data that was received from the server to the client.

It is recommended that the client copies the data from this buffer, as it is owned by the Symbian telnet.

Parameters

const TDesC8 &aBuffer

Data received from server.


WriteComplete()

virtual void WriteComplete()=0;

Description

Last Write to Server completion callback.

Notifies the client that a write to the server from the client has completed.


ConnectionClosed()

virtual void ConnectionClosed()=0;

Description

Telnet Connection Closed callback.

Notifies the client that the connection to the server has been closed.


Connected()

virtual void Connected()=0;

Description

Telnet Connected callback.

Notifies the client that a connection to the server has been made.


OptionsChanged()

virtual void OptionsChanged()=0;

Description

Telnet RFC Options Changed callback.

Notifies the client that telnet configuration options have changed.