--- a/hotspotfw/hsserver/src/hotspotserver.cpp Fri Sep 03 09:37:37 2010 +0300
+++ b/hotspotfw/hsserver/src/hotspotserver.cpp Thu Sep 16 12:52:33 2010 +0300
@@ -107,6 +107,12 @@
CHotSpotServer::CHotSpotServer()
:CPolicyServer( EPriorityStandard, THotSpotServerPlatSecPolicy, ESharableSessions )
{
+ iAssociationValue=false;
+ iLogoutSent=false ;
+ iLoginValue=false;
+ iIapCheckValue=false;
+ iMgtClient=NULL;
+ iClientIapsChecked =0;
}
// -----------------------------------------------------------------------------
@@ -234,7 +240,7 @@
EWlanServiceExtensionTableName );
clientUid.Copy( client->Des() );
delete client;
- SetClientIap( iapId, clientUid );
+ SetClientIapL( iapId, clientUid );
DEBUG1("CHotSpotServer::FindClientIapsL() iapId: %d", iapId );
}
}
@@ -532,15 +538,15 @@
}
// -----------------------------------------------------------------------------
-// SetTimerValues
+// SetTimerValuesL
// -----------------------------------------------------------------------------
//
-void CHotSpotServer::SetTimerValues(
+void CHotSpotServer::SetTimerValuesL(
TDes& aClientUid,
TUint aLoginTimerValue, // in seconds
TUint aLogoutTimerValue ) // in seconds
{
- DEBUG("HotspotServer::SetTimerValues()");
+ DEBUG("HotspotServer::SetTimerValuesL()");
TInt ret = FindClientUid( aClientUid );
TUint loginTimeMicroSecs = KHssDefaultLoginTimeMicroSecs ;
TUint logoutTimeMicroSecs = KHssDefaultLogoutTimeMicroSecs ;
@@ -560,20 +566,20 @@
if (ret != KErrNotFound)
{
- DEBUG("CHotSpotServer::SetTimerValues(): Existing client modified.");
+ DEBUG("CHotSpotServer::SetTimerValuesL(): Existing client modified.");
// ret is the matching element's index.
iLoginLogoutTimerArray[ret].iLoginTimeMicroSecs = loginTimeMicroSecs;
iLoginLogoutTimerArray[ret].iLogoutTimeMicroSecs = logoutTimeMicroSecs;
}
else
{
- DEBUG("CHotSpotServer::SetTimerValues(): New Client added.");
+ DEBUG("CHotSpotServer::SetTimerValuesL(): New Client added.");
// Create a new element and append it to the array.
const SLoginLogoutTimers addedElement = {
aClientUid,
loginTimeMicroSecs,
logoutTimeMicroSecs };
- iLoginLogoutTimerArray.Append( addedElement );
+ iLoginLogoutTimerArray.AppendL( addedElement );
}
}
@@ -629,14 +635,14 @@
}
// -----------------------------------------------------------------------------
-// SetClientIap
+// SetClientIapL
// -----------------------------------------------------------------------------
//
-void CHotSpotServer::SetClientIap( TUint aIapId, TDes& aUid )
+void CHotSpotServer::SetClientIapL( TUint aIapId, TDes& aUid )
{
DEBUG("CHotspotServer::SetClientIap()");
SClientIaps clientElement = { aIapId, aUid };
- iClientIaps.Append( clientElement );
+ iClientIaps.AppendL( clientElement );
}
// -----------------------------------------------------------------------------