Location:
telsess.h
class MTelnetNotification;
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.
Defined in MTelnetNotification
:
Connected()
, ConnectionClosed()
, Error()
, OptionsChanged()
, ReadComplete()
, WriteComplete()
virtual void Error(TInt aError)=0;
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.
|
virtual void ReadComplete(const TDesC8 &aBuffer)=0;
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.
|
virtual void WriteComplete()=0;
Last Write to Server completion callback.
Notifies the client that a write to the server from the client has completed.
virtual void ConnectionClosed()=0;
Telnet Connection Closed callback.
Notifies the client that the connection to the server has been closed.
virtual void Connected()=0;
Telnet Connected callback.
Notifies the client that a connection to the server has been made.
virtual void OptionsChanged()=0;
Telnet RFC Options Changed callback.
Notifies the client that telnet configuration options have changed.