CNATFWNatSettingsImpl Class Reference
class CNATFWNatSettingsImpl : public CBase |
Implementation class for NAT FW Settings API.
Class uses Central Repository to retrieve settings values.
natfwnatsettings.lib
- Since
- S60 3.2
Constructor & Destructor Documentation
CNATFWNatSettingsImpl()
CNATFWNatSettingsImpl | ( | ) | [private] |
~CNATFWNatSettingsImpl()
~CNATFWNatSettingsImpl | ( | ) | [virtual] |
Member Functions Documentation
AvailableNatProtocols()
Returns available NAT protocols in priority order
ConstructL(const TDesC8 &)
void | ConstructL | ( | const TDesC8 & | aDomain | ) | [private] |
Second phase Constructor
- Since
- S60 3.2
-
leave
- KErrNoMemory if out of memory or system wide error code
Parameters
const TDesC8 & aDomain | reference to domain name descriptor |
CrlfRefreshEnabled()
TBool
| CrlfRefreshEnabled | ( | ) | const |
Returns true if CRLF refresh is enabled.
GetPortArea(TUint &, TUint &)
void | GetPortArea | ( | TUint & | aStartPort, |
| TUint & | aEndPort |
| ) | const |
Returns port range for NAT FW via parameters.
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.
- Since
- S60 3.2
-
leave
- System wide error code if CR fails
NewL(const TDesC8 &)
A two-phase constructor.
In initial phase domain name and internet acces point 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 and internet acces point 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 |
ReadGeneralSettingsL()
void | ReadGeneralSettingsL | ( | ) | [private] |
Method for reading general settings from the Central Repository. Leaves if memory allocation or Central Repository reading fails.
- Since
- S60 3.2
-
leave
- KErrNoMemory if out of memory or system wide error code if CR errors
ReadIapSettingsL(TUint32)
void | ReadIapSettingsL | ( | TUint32 | aIapId | ) | [private] |
Method for reading internet accesspoint settings from the Central Repository.
- Since
- S60 3.2
-
leave
- KErrCorrupt if more than one contents of IAP settings found with this IAP ID. System wide error code if CR fails.
Parameters
TUint32 aIapId | Internet accesspoint ID |
RefreshIntervalTcp()
TInt
| RefreshIntervalTcp | ( | ) | const |
Returns refresh interval for TCP.
RefreshIntervalUdp()
TInt
| RefreshIntervalUdp | ( | ) | const |
Returns refresh interval for UDP.
RetrieveIapSettingsL(TUint)
void | RetrieveIapSettingsL | ( | TUint | aIapId | ) | |
Fetch Internet acces point settings from Central Repository by specific IAP ID. Old settings are replaced if new found.
- Since
- S60 3.2
-
leave
- KErrCorrupt if more than one identical IAP ID values found at Central Repository or other system wide error code
Parameters
TUint aIapId | internet acces point ID |
StunSettingsL()
Returns interface through which STUN related settings can be queried. Also reads all STUN settings from Central Repository.
- 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.
- Since
- S60 3.2
-
leave
- System wide error code if CR fails
UseSharedSecret()
TBool
| UseSharedSecret | ( | ) | const |
Returns true if shared secret is enabled.
Member Data Documentation
TBool
iCrlfRefreshEnabled
TBool
| iCrlfRefreshEnabled | [private] |
HBufC8 * iDomain
Domain where lays the server Own.
TUint32
iDomainKey
DomainKey to the Central Repository contets value is in the field of the firs key mask bits defined in KUNSAFProtocolsFieldTypeMask
CDesC8Array * iEcomPlugInPriorityOrderArray
Array of used NAT protocols and priority order Own.
CNATFWIceSettings * iIceSettings
ICE software settings. Own.
TUint
iPortPoolEndPort
TUint
| iPortPoolEndPort | [private] |
Ending port for the port range
TUint
iPortPoolStartPort
TUint
| iPortPoolStartPort | [private] |
Starting port for the port range
TUint
iRefreshIntervalTcp
TUint
| iRefreshIntervalTcp | [private] |
TUint
iRefreshIntervalUdp
TUint
| iRefreshIntervalUdp | [private] |
CNATFWCenRepHandler * iRepHandler
The Central Repository handler Own.
CNATFWStunSettings * iStunSettings
STUN software settings. Own.
CNATFWTurnSettings * iTurnSettings
TURN software settings. Own.
TBool
iUseSharedSecret
TBool
| iUseSharedSecret | [private] |
indicates the SharedSecret use
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.