CNATFWTurnSettings Class Reference

class CNATFWTurnSettings : public CBase

Class instance encapsulates TURN related software settings.

natfwnatsettings.dll
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CNATFWTurnSettings()

CNATFWTurnSettings()[private]

~CNATFWTurnSettings()

~CNATFWTurnSettings()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GetTurnServerArrayL(RPointerArray< MNATFWServerSettings > &)

voidGetTurnServerArrayL(RPointerArray< MNATFWServerSettings > &aServers)const

From MNATFWTurnSettings. Method for getting array of TURN server related settings Ownership is not transferred.

Since
S60 3.2

Parameters

RPointerArray< MNATFWServerSettings > & aServersReturns array of a TURN server settings pointers

LatestConnectedServerAddr()

const TDesC8 &LatestConnectedServerAddr()const

From MNATFWTurnSettings. Method for getting latest successfully connected TURN server address

Since
S60 3.2

LatestConnectedServerPort()

TInt LatestConnectedServerPort()const

From MNATFWTurnSettings. Method for getting latest successfully connected TURN server port

Since
S60 3.2

NewL()

CNATFWTurnSettings *NewL()[static]

Two-phased constructor.

NewLC()

CNATFWTurnSettings *NewLC()[static]

Two-phased constructor.

ReadSettingsL(TUint32, const CNATFWCenRepHandler &)

voidReadSettingsL(TUint32aDomainKey,
const CNATFWCenRepHandler &aRepHandler
)

Read settings from Central Repository

Since
S60 v3.2

Parameters

TUint32 aDomainKeyKey for domain settings
const CNATFWCenRepHandler & aRepHandlerCentral Repository handler

RetransmissionTimeout()

TUint RetransmissionTimeout()const

From MNATFWTurnSettings. Returns initial retransmission timeout (RTO).

Since
S60 v3.2

SetLatestConnectedServerAddrL(const TDesC8 &)

voidSetLatestConnectedServerAddrL(const TDesC8 &aServerAddr)

Sets latest connected server address

Since
S60 v3.2

Parameters

const TDesC8 & aServerAddrServer address

SetLatestConnectedServerPort(TInt)

voidSetLatestConnectedServerPort(TIntaServerPort)

Sets latest connected server port

Since
S60 v3.2

Parameters

TInt aServerPortServer port

SetRetransmissionTimeout(TUint)

voidSetRetransmissionTimeout(TUintaRto)

Sets retransmission timeout (RTO).

Since
S60 v3.2

Parameters

TUint aRtoRetransmission timeout value

SetTurnServersL(CArrayPtr< CNATFWServerSettings > *)

voidSetTurnServersL(CArrayPtr< CNATFWServerSettings > *aTurnServers)

Sets TURN server array, ownership is transferred

Since
S60 v3.2

Parameters

CArrayPtr< CNATFWServerSettings > * aTurnServersServer array

Member Data Documentation

HBufC8 * iLatestConnectedServerAddr

HBufC8 *iLatestConnectedServerAddr[private]

Latest successfully connected TURN server address.

TUint iLatestConnectedServerPort

TUint iLatestConnectedServerPort[private]

Latest successfully connected TURN server port.

TUint iRto

TUint iRto[private]

Retransmission timeout.

CArrayPtr< CNATFWServerSettings > * iServerArray

CArrayPtr< CNATFWServerSettings > *iServerArray[private]

Array of server related settings.