CNATFWStunSettings Class Reference

class CNATFWStunSettings : public CBase

Class instance encapsulates STUN related software settings.

natfwnatsettings.dll
Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CNATFWStunSettings()

CNATFWStunSettings ( ) [private]

~CNATFWStunSettings()

~CNATFWStunSettings ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

GetStunServerArrayL(RPointerArray< MNATFWServerSettings > &)

void GetStunServerArrayL ( RPointerArray < MNATFWServerSettings > & aServers ) const

From MNATFWStunSettings . Method for getting array of STUN server related settings Ownership is not transferred.

Since
S60 3.2

Parameters

RPointerArray < MNATFWServerSettings > & aServers array of a STUN server settings pointers

LatestConnectedServerAddr()

const TDesC8 & LatestConnectedServerAddr ( ) const

From MNATFWStunSettings . Method for getting latest successfully connected STUN server address

Since
S60 3.2

LatestConnectedServerPort()

TInt LatestConnectedServerPort ( ) const

From MNATFWStunSettings . Method for getting latest successfully connected STUN server port

Since
S60 3.2

NewL()

CNATFWStunSettings * NewL ( ) [static]

Two-phased constructor.

NewLC()

CNATFWStunSettings * 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 MNATFWStunSettings . Returns initial retransmission timeout (RTO).

Since
S60 v3.2

SetLatestConnectedServerAddrL(const TDesC8 &)

void SetLatestConnectedServerAddrL ( const TDesC8 & aServerAddr )

Sets latest connected STUN server address

Since
S60 v3.2

Parameters

const TDesC8 & aServerAddr Server address

SetLatestConnectedServerPort(TInt)

void SetLatestConnectedServerPort ( TInt aServerPort )

Sets latest connected STUN 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

SetStunServersL(CArrayPtr< CNATFWServerSettings > *)

void SetStunServersL ( CArrayPtr < CNATFWServerSettings > * aStunServers )

Sets STUN server array, ownership is transferred

Since
S60 v3.2

Parameters

CArrayPtr < CNATFWServerSettings > * aStunServers Server array

Member Data Documentation

HBufC8 * iLatestConnectedServerAddr

HBufC8 * iLatestConnectedServerAddr [private]

Latest successfully connected STUN server address. own.

TUint iLatestConnectedServerPort

TUint iLatestConnectedServerPort [private]

Latest successfully connected STUN server port.

TUint iRto

TUint iRto [private]

Retransmission timeout.

CArrayPtr< CNATFWServerSettings > * iServerArray

CArrayPtr < CNATFWServerSettings > * iServerArray [private]

Array of server related settings. own.