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

voidConstructL()[private]

GetStunServerArrayL(RPointerArray< MNATFWServerSettings > &)

voidGetStunServerArrayL(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 > & aServersarray 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 &)

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

Since
S60 v3.2

SetLatestConnectedServerAddrL(const TDesC8 &)

voidSetLatestConnectedServerAddrL(const TDesC8 &aServerAddr)

Sets latest connected STUN server address

Since
S60 v3.2

Parameters

const TDesC8 & aServerAddrServer address

SetLatestConnectedServerPort(TInt)

voidSetLatestConnectedServerPort(TIntaServerPort)

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

SetStunServersL(CArrayPtr< CNATFWServerSettings > *)

voidSetStunServersL(CArrayPtr< CNATFWServerSettings > *aStunServers)

Sets STUN server array, ownership is transferred

Since
S60 v3.2

Parameters

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