Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: ConnPref.h
Link against: esock.lib

Class TConnPref

class TConnPref : public TBuf8< KMaxConnPrefSize >;

Description

Overrides the connection preferences.

Derivation

Members

Defined in TConnPref:
EConnPrefCommDb, EConnPrefCommDbMulti, EConnPrefIdList, EConnPrefSip, EConnPrefSnap, EConnPrefUnknown, ExtensionId(), GetUserLen(), SetExtensionId(), SetUserLen(), TConnPref(), TConnPref(), UserPtr(), anonymous


Construction and destruction


TConnPref()

IMPORT_C TConnPref();

Description

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


TConnPref()

IMPORT_C TConnPref(TInt aExtensionId);

Description

Constructor Setting length to 0x40 and Extension ID to aExtensionId

Parameters

TInt aExtensionId

[Top]


Member functions


ExtensionId()

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()

protected: IMPORT_C void SetExtensionId(TInt aExtensionId);

Description

Set the extension (derrived class) id

Parameters

TInt aExtensionId


SetUserLen()

protected: IMPORT_C void SetUserLen(TInt aLen);

Description

Set descriptor length to actual length of subclass

Parameters

TInt aLen


UserPtr()

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.