CNATFWServerSettings Class Reference

class CNATFWServerSettings : public CBase

Class for querying STUN/TURN server settings.

natfwnatsettings.lib
Since
S60 v3.2

Inherits from

  • CNATFWServerSettings

Constructor & Destructor Documentation

CNATFWServerSettings(TUint, const TBool)

CNATFWServerSettings(TUintaPort,
const TBoolaSecret
)[private]

Parameters

TUint aPort
const TBool aSecret

~CNATFWServerSettings()

~CNATFWServerSettings()[virtual]

Destructor.

Member Functions Documentation

Address()

const TDesC8 &Address()const

From MNATFWServerSettings Returns STUN/TURN server address.

Since
S60 v3.2

ConstructL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

voidConstructL(const TDesC8 &aAddress,
const TDesC8 &aUsername,
const TDesC8 &aPassword
)[private]

Parameters

const TDesC8 & aAddress
const TDesC8 & aUsername
const TDesC8 & aPassword

NewL(const TDesC8 &, TUint, const TDesC8 &, const TDesC8 &, const TBool)

CNATFWServerSettings *NewL(const TDesC8 &aAddress,
TUintaPort,
const TDesC8 &aUsername,
const TDesC8 &aPassword,
const TBoolaSharedSecretEnabled
)[static]

Two-phased constructor.

Parameters

const TDesC8 & aAddress
TUint aPort
const TDesC8 & aUsername
const TDesC8 & aPassword
const TBool aSharedSecretEnabled

NewLC(const TDesC8 &, TUint, const TDesC8 &, const TDesC8 &, const TBool)

CNATFWServerSettings *NewLC(const TDesC8 &aAddress,
TUintaPort,
const TDesC8 &aUsername,
const TDesC8 &aPassword,
const TBoolaSharedSecretEnabled
)[static]

Two-phased constructor.

Parameters

const TDesC8 & aAddress
TUint aPort
const TDesC8 & aUsername
const TDesC8 & aPassword
const TBool aSharedSecretEnabled

Password()

const TDesC8 &Password()const

From MNATFWServerSettings Returns password to the server.

Since
S60 v3.2

Port()

TUint Port()const

From MNATFWServerSettings Returns STUN/TURN server port number.

Since
S60 v3.2

ReadSettingsL(TUint32, const CNATFWCenRepHandler &)

voidReadSettingsL(TUint32aServerSettingsKey,
const CNATFWCenRepHandler &aRepHandler
)

Reads settings from Central Repository

Since
S60 v3.2

Parameters

TUint32 aServerSettingsKeyID key for server wanted to be read
const CNATFWCenRepHandler & aRepHandlerCR Handler

SharedSecretEnabled()

TBool SharedSecretEnabled()const

From MNATFWServerSettings Returns shared secred enabled

Since
S60 v3.2

Username()

const TDesC8 &Username()const

From MNATFWServerSettings Returns username to the server.

Since
S60 v3.2

Member Data Documentation

HBufC8 * iAddress

HBufC8 *iAddress[private]

Server address own

HBufC8 * iPassword

HBufC8 *iPassword[private]

Server password own

TUint iPort

TUint iPort[private]

Server port

TBool iSharedSecretEnabled

TBool iSharedSecretEnabled[private]

Shared secret enabled

HBufC8 * iUsername

HBufC8 *iUsername[private]

Server username own