#include <puttyclient.h>
Inheritance diagram for MPuttyClient:
Public Types | |
enum | THostKeyResponse { EAbadonConnection, EAcceptTemporarily, EAcceptAndStore } |
Host key prompt responses. More... | |
enum | TCipherDirection { EBothDirections, EClientToServer, EServerToClient } |
Cipher warning communication direction. More... | |
Public Methods | |
virtual void | DrawText (TInt aX, TInt aY, const TDesC &aText, TBool aBold, TBool aUnderline, TRgb aForeground, TRgb aBackground)=0 |
Draws text on the terminal window. | |
virtual void | ConnectionError (const TDesC &aMessage)=0 |
Reports a connection error to the user. | |
virtual void | FatalError (const TDesC &aMessage)=0 |
Reports a fatal error to the user. | |
virtual void | ConnectionClosed ()=0 |
Reports that the connection has been closed normally. | |
virtual THostKeyResponse | UnknownHostKey (const TDesC &aFingerprint)=0 |
Prompts the user to accept or reject an unknown host key. | |
virtual THostKeyResponse | DifferentHostKey (const TDesC &aFingerprint)=0 |
Prompts the user to accept or reject a changed host key. | |
virtual TBool | AcceptCipher (const TDesC &aCipherName, TCipherDirection aDirection)=0 |
Prompts the user to accept or reject a cipher below the warning threshold. |
The client interface is implemented by the user-interface application, and used by the engine to send information back to the client.
|
Cipher warning communication direction.
|
|
Host key prompt responses.
|
|
Prompts the user to accept or reject a cipher below the warning threshold.
Implemented in CPuttyAppUi. |
|
Reports a connection error to the user. After displaying the message, the engine must be re-initialized
Implemented in CPuttyAppUi. |
|
Prompts the user to accept or reject a changed host key. The method must display the key fingerprint to the user, and ask whether it should be accepted once, accepted permanently or rejected completely.
Implemented in CPuttyAppUi. |
|
Draws text on the terminal window. The coordinates are zero-based character coordinates inside the terminal. Cursor is drawn as text with specific colors.
Implemented in CPuttyAppUi. |
|
Reports a fatal error to the user. After showing the message, the implementation must exit the program.
Implemented in CPuttyAppUi. |
|
Prompts the user to accept or reject an unknown host key. The method must display the key fingerprint to the user, and ask whether it should be accepted once, accepted permanently or rejected completely.
Implemented in CPuttyAppUi. |