bearermanagement/mpm/src/mpmconnmonreqs.cpp
branchRCL_3
changeset 57 05bc53fe583b
parent 36 04408506c6e0
child 58 83ca720e2b9a
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
    54 //
    54 //
    55 CMPMConnMonReqs::CMPMConnMonReqs(CMPMConnMonEvents& aParent,
    55 CMPMConnMonReqs::CMPMConnMonReqs(CMPMConnMonEvents& aParent,
    56                                  RConnectionMonitor& aConnMon,
    56                                  RConnectionMonitor& aConnMon,
    57                                  TUint aConnId, 
    57                                  TUint aConnId, 
    58                                  CMPMServerSession* aSession )
    58                                  CMPMServerSession* aSession )
    59     : CActive(CActive::EPriorityStandard), 
    59     : CActive(CActive::EPriorityStandard),
       
    60       iNextState( EGetIapAvailState ),
       
    61       iLastCancelCode( 0 ),
    60       iParent(aParent), 
    62       iParent(aParent), 
    61       iConnMon(aConnMon), 
    63       iConnMon(aConnMon), 
    62       iConnId(aConnId), 
    64       iConnId(aConnId), 
    63       iSession(aSession), 
    65       iSession(aSession), 
    64       iWlanScanCallback( EWlanScanCallbackNone ), 
    66       iWlanScanCallback( EWlanScanCallbackNone ), 
   345                         MPMLOGSTRING( "CMPMConnMonReqs::RunL: iWlanScanCallback EWlanScanCallbackGenerateEvent" )
   347                         MPMLOGSTRING( "CMPMConnMonReqs::RunL: iWlanScanCallback EWlanScanCallbackGenerateEvent" )
   346                         // Generate event only if not 
   348                         // Generate event only if not 
   347                         //
   349                         //
   348                         iParent.IapAvailabilityChange( EConnMon );
   350                         iParent.IapAvailabilityChange( EConnMon );
   349                         }
   351                         }
       
   352 
       
   353                     if ( iParent.AvailabilityNotificationDiscarded() )
       
   354                         {
       
   355                         MPMLOGSTRING( "CMPMConnMonReqs::RunL: AvailabilityNotificationDiscarded, roaming logic triggered" )
       
   356                         iParent.IapAvailabilityChange( EConnMonEvent );
       
   357                         }
   350                     }
   358                     }
   351                 // check which callback function to use
   359                 // check which callback function to use
   352                 // 
   360                 // 
   353                 if( iWlanScanCallback == EWlanScanCallbackChooseIap )
   361                 if( iWlanScanCallback == EWlanScanCallbackChooseIap )
   354                     {
   362                     {