CNATFWNatSettingsApi Class Reference
class CNATFWNatSettingsApi : public CBase
|
API class to retrieve NAT FW Settings.
Class uses Central Repository to retrieve settings values.
natfwnatsettings.lib
-
Since
-
S60 3.2
Constructor & Destructor Documentation
CNATFWNatSettingsApi()
CNATFWNatSettingsApi
|
(
|
)
|
[private]
|
~CNATFWNatSettingsApi()
~CNATFWNatSettingsApi
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AvailableNatProtocols()
IMPORT_C const
CDesC8Array
&
|
AvailableNatProtocols
|
(
|
)
|
const
|
Returns available NAT protocols in priority order
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aDomain
|
)
|
[private]
|
CrlfRefreshEnabled()
IMPORT_C
TBool
|
CrlfRefreshEnabled
|
(
|
)
|
const
|
Returns true if CRLF refresh is enabled.
Domain()
IMPORT_C const
TDesC8
&
|
Domain
|
(
|
)
|
const
|
GetPortArea(TUint &, TUint &)
IMPORT_C void
|
GetPortArea
|
(
|
TUint
&
|
aStartPort,
|
|
TUint
&
|
aEndPort
|
|
)
|
const
|
Returns port range for NAT FW use.
Parameters
TUint
& aStartPort
|
Start port of the port range
|
TUint
& aEndPort
|
End port of the port range
|
IceSettingsL()
Returns interface through which ICE related settings can be queried. Also reads all ICE settings from Central Repository. Ownership is not transferred.
-
Since
-
S60 3.2
-
leave
-
System wide error code if CR fails
NewL(const TDesC8 &)
A two-phase constructor.
In initial phase domain name related settings values are read from Central Repository.
-
Since
-
S60 3.2
-
leave
-
KErrCorrupt if more than one identical domain names found at Central Repository.
Parameters
const
TDesC8
& aDomain
|
The STUN/TURN server domain name
|
NewLC(const TDesC8 &)
A two-phase constructor. The instance is put to the cleanup stack.
In initial phase domain name related settings values are read from Central Repository.
-
Since
-
S60 3.2
-
leave
-
KErrCorrupt if more than one identical domain names found at Central Repository.
Parameters
const
TDesC8
& aDomain
|
The STUN/TURN server domain name
|
RefreshIntervalTcp()
IMPORT_C
TInt
|
RefreshIntervalTcp
|
(
|
)
|
const
|
Returns refresh interval for TCP.
RefreshIntervalUdp()
IMPORT_C
TInt
|
RefreshIntervalUdp
|
(
|
)
|
const
|
Returns refresh interval for UDP.
RetrieveIapSettingsL(TUint)
IMPORT_C void
|
RetrieveIapSettingsL
|
(
|
TUint
|
aIapId
|
)
|
|
Fetch Internet acces point settings from Central Repository for specific IAP ID. Replaces domain specific UDP And TCP refresh interval and retransmission timeout settings if new ones found.
-
Since
-
S60 3.2
-
leave
-
KErrCorrupt if more than one identical IAP ID values found or system wide error code in other CR errors
Parameters
TUint
aIapId
|
The Internet acces point ID
|
StunSettingsL()
Returns interface through which STUN related settings can be queried. Also reads all STUN settings from Central Repository. Ownership is not transferred.
-
Since
-
S60 3.2
-
leave
-
System wide error code if CR fails
TurnSettingsL()
Returns interface through which TURN related settings can be queried. Also reads all TURN settings from Central Repository. Ownership is not transferred.
-
Since
-
S60 3.2
-
leave
-
System wide error code if CR fails
UseSharedSecret()
IMPORT_C
TBool
|
UseSharedSecret
|
(
|
)
|
const
|
Returns true if shared secret is enabled.
Member Data Documentation
CNATFWNatSettingsImpl * iSettingsImpl
NAT Settings implementation own
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.