Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <ConnPref.h>
Link against: esock.lib

Class TConnPref

class TConnPref : public TBuf8< KMaxConnPrefSize >;

Description

Overrides the connection preferences.

Derivation

Members

Defined in TConnPref:


Construction and destruction


TConnPref()

IMPORT_C TConnPref();

Description

Default Constructor Setting length to 0x40 and Extension ID to 0x00


TConnPref(TInt)

IMPORT_C TConnPref(TInt aExtensionId);

Description

Constructor Setting length to 0x40 and Extension ID to aExtensionId

Parameters

TInt aExtensionId

[Top]


Member functions


ExtensionId()const

IMPORT_C TInt ExtensionId() const;

Description

Get the extension (derrived class) id

Return value

TInt

Extension ID.


GetUserLen()

IMPORT_C TInt GetUserLen();

Description

Get the length of the subclass

Return value

TInt

length of the subclass


SetExtensionId(TInt)

protected: IMPORT_C void SetExtensionId(TInt aExtensionId);

Description

Set the extension (derrived class) id

Parameters

TInt aExtensionId


SetUserLen(TInt)

protected: IMPORT_C void SetUserLen(TInt aLen);

Description

Set descriptor length to actual length of subclass

Parameters

TInt aLen


UserPtr()const

protected: inline TUint8* UserPtr() const;

Description

Return value

TUint8 *

[Top]


Member enumerations


Enum anonymous

n/a

Description

EConnPrefUnknown

Unknown Connection preference.

EConnPrefCommDb

CommDb Connection preference.

EConnPrefCommDbMulti

CommDbMulti Connection preferenc.

EConnPrefSnap

EConnPrefIdList

EConnPrefSip

Sip Connection preference.