Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <TELSESS.H>

Class TTelnetConfig

class TTelnetConfig;

Description

Specifies telnet session configuration information.

The client must provide a reference to an instance of this class as a parameter to the CTelnetSession::NewL(const TTelnetConfig &,const MTelnetNotification *) function.

Configuration options can be modified, when the session is in progress, using the CTelnetSession::DoModifyConfig(TTelnetConfig &) function.

Configuration option state can be obtained using the CTelnetSession::OptionStatus(TOptionStatus &) function.

Members

Defined in TTelnetConfig:


Construction and destruction


TTelnetConfig()

inline TTelnetConfig();

Description

Constructor.


~TTelnetConfig()

inline ~TTelnetConfig();

Description

Destructor.

[Top]


Member structures


Struct TWindowSize

struct TWindowSize;

Description

Members

Defined in TTelnetConfig::TWindowSize:

Member data


x

TInt16 x;

Description

The client window's width (number of columns).


y

TInt16 y;

Description

The client window's height (number of rows).

[Top]


Member data


iWindowSize

TWindowSize iWindowSize;

Description

Specifies the client's window size.

The default is 80 columns by 24 rows.

(RFC 1073 -- Set to Configure Window Size)


iTermSpeed

TBuf8< 20 > iTermSpeed;

Description

Specifies the speed of the telnet connection.

The default is "38400" (in ASCII characters). Must be set to a server-supported rate.

(RFC 1079 -- Set to Configure Terminal Speed)


iTermType

TBuf8< 20 > iTermType;

Description

Specifies the terminal type.

The default is "dumb" (in ASCII characters).

(RFC 1091 -- Set to Configure Terminal Type)


iAllowLogout

TBool iAllowLogout;

Description

Specifies whether the telnet server can logout the client.

The default, ETrue, enables the server to logout the client. If EFalse any logout request from the telnet server is rejected by the client.

(RFC 727 -- Set/Clear to Enable/Disable Server Logout)


iServerEcho

TBool iServerEcho;

Description

Enables or disables telnet server echo to client.

The default, ETrue, enables server echo. Note that although this is normal telnet server behaviour, it is not a formal telnet requirement. It is therefore recommended that the client implement an optional local echo.

(RFC 857 -- Set/Clear to Enable/Disable Server Echo to client)