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

void ConstructL ( ) [private]

GetTurnServerArrayL(RPointerArray< MNATFWServerSettings > &)

void GetTurnServerArrayL ( 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 > & aServers Returns 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 &)

void ReadSettingsL ( TUint32 aDomainKey,
const CNATFWCenRepHandler & aRepHandler
)

Read settings from Central Repository

Since
S60 v3.2

Parameters

TUint32 aDomainKey Key for domain settings
const CNATFWCenRepHandler & aRepHandler Central Repository handler

RetransmissionTimeout()

TUint RetransmissionTimeout ( ) const

From MNATFWTurnSettings . Returns initial retransmission timeout (RTO).

Since
S60 v3.2

SetLatestConnectedServerAddrL(const TDesC8 &)

void SetLatestConnectedServerAddrL ( const TDesC8 & aServerAddr )

Sets latest connected server address

Since
S60 v3.2

Parameters

const TDesC8 & aServerAddr Server address

SetLatestConnectedServerPort(TInt)

void SetLatestConnectedServerPort ( TInt aServerPort )

Sets latest connected server port

Since
S60 v3.2

Parameters

TInt aServerPort Server port

SetRetransmissionTimeout(TUint)

void SetRetransmissionTimeout ( TUint aRto )

Sets retransmission timeout (RTO).

Since
S60 v3.2

Parameters

TUint aRto Retransmission timeout value

SetTurnServersL(CArrayPtr< CNATFWServerSettings > *)

void SetTurnServersL ( CArrayPtr < CNATFWServerSettings > * aTurnServers )

Sets TURN server array, ownership is transferred

Since
S60 v3.2

Parameters

CArrayPtr < CNATFWServerSettings > * aTurnServers Server 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.