bearermanagement/S60MCPR/src/s60mcpractivities.cpp
changeset 2 086aae6fc07e
parent 1 40cb640ef159
child 8 2e6c4614c58e
child 18 fcbbe021d614
equal deleted inserted replaced
1:40cb640ef159 2:086aae6fc07e
   313                         S60MCprMobilityActivity::TWaitPolicyServerResponseBackwardOrErrorTag )
   313                         S60MCprMobilityActivity::TWaitPolicyServerResponseBackwardOrErrorTag )
   314                         */
   314                         */
   315     // If the migration was acepted we loop again waiting for a new, preferred one
   315     // If the migration was acepted we loop again waiting for a new, preferred one
   316     NODEACTIVITY_ENTRY( KNoTag, 
   316     NODEACTIVITY_ENTRY( KNoTag, 
   317                         CS60MobilityActivity::TInformMigrationCompleted, 
   317                         CS60MobilityActivity::TInformMigrationCompleted, 
   318                         S60MCprMobilityActivity::TAwaitingMigrationAcceptedOrRejectedOrCancel,
   318                         S60MCprMobilityActivity::TAwaitingMigrationAcceptedOrRejectedOrStartupErrorIgnoredOrCancel,
   319                         S60MCprMobilityActivity::TNoTagOrErrorTagOrApplicationRejected ) //-jl- TODO cancel here?
   319                         S60MCprMobilityActivity::TNoTagOrErrorTagOrApplicationRejectedOrConsumeRejected )
   320     // Informs policy server that application has accepted the carrier
   320     // Informs policy server that application has accepted the carrier
   321     THROUGH_NODEACTIVITY_ENTRY( KNoTag,
   321     THROUGH_NODEACTIVITY_ENTRY( KNoTag,
   322                                 CS60MobilityActivity::TSendApplicationAccept,
   322                                 CS60MobilityActivity::TSendApplicationAccept,
   323                                 TTag<MobilityMCprStates::KStartMobilityHandshake|NetStateMachine::EBackward> )
   323                                 TTag<MobilityMCprStates::KStartMobilityHandshake|NetStateMachine::EBackward> )
   324     // Informs policy server that application has rejected the carrier
   324     // Informs policy server that application has rejected the carrier
   325     THROUGH_NODEACTIVITY_ENTRY( S60MCprStates::KApplicationRejectedMigration,
   325     THROUGH_NODEACTIVITY_ENTRY( S60MCprStates::KApplicationRejectedMigration,
   326                                 CS60MobilityActivity::TSendApplicationReject,
   326                                 CS60MobilityActivity::TSendApplicationReject,
   327                                 TTag<S60MCprStates::KWaitPolicyServerResponse|NetStateMachine::EBackward> )
   327                                 TTag<S60MCprStates::KWaitPolicyServerResponse|NetStateMachine::EBackward> )
       
   328     // Waits for Migration Rejected the carrier -msg and consumes it, because MPM doesn't need it.
       
   329     // MPM already received the ProcessError which is enough.
       
   330     NODEACTIVITY_ENTRY( S60MCprStates::KConsumeRejectedMsg,
       
   331                         CS60MobilityActivity::TClearHandshakingFlag,
       
   332                         S60MCprMobilityActivity::TAwaitingMigrationRejected,
       
   333                         TTag<S60MCprStates::KWaitPolicyServerResponse|NetStateMachine::EBackward> )
   328     // On error, we do not terminate the activity.
   334     // On error, we do not terminate the activity.
   329     // We need to inform the client and propose a new handshake should the client wish to continue
   335     // We need to inform the client and propose a new handshake should the client wish to continue
   330 	// Shut down the layer, to release the rejected bearer
   336 	// Shut down the layer, to release the rejected bearer
   331 	NODEACTIVITY_ENTRY(KErrorTag,
   337 	NODEACTIVITY_ENTRY(KErrorTag,
   332 		               CS60MobilityActivity::TErrorOriginatorAndStopDataClient,
   338 		               CS60MobilityActivity::TErrorOriginatorAndStopDataClient,