bearermanagement/S60MCPR/src/s60mcpractivities.cpp
branchRCL_3
changeset 24 c45d4fe2ff0a
parent 15 4dc3bb0099b0
child 45 4c83dcfb6f1a
equal deleted inserted replaced
19:22c3c67e5001 24:c45d4fe2ff0a
   292     
   292     
   293     // Select the next layer MCPR.
   293     // Select the next layer MCPR.
   294     NODEACTIVITY_ENTRY( KNoTag, 
   294     NODEACTIVITY_ENTRY( KNoTag, 
   295                         MCprStates::TSelectNextLayer,
   295                         MCprStates::TSelectNextLayer,
   296                         MCprStates::TAwaitingSelectNextLayerCompleted, // Ok. Error is fatal.
   296                         MCprStates::TAwaitingSelectNextLayerCompleted, // Ok. Error is fatal.
   297                         CS60MobilityActivity::TNoTagOrRequestReConnectToCurrentSPOrErrorTag )              
   297                         MeshMachine::TNoTagOrErrorTag )       
   298                         
   298                         
   299     // For the moment it is sufficient to use the re-connect activity, in the future we may want to
   299     // For the moment it is sufficient to use the re-connect activity, in the future we may want to
   300     // customise the behavior, for example start the new layer before rebinding it, etc.
   300     // customise the behavior, for example start the new layer before rebinding it, etc.
   301     NODEACTIVITY_ENTRY( KNoTag, 
   301     NODEACTIVITY_ENTRY( KNoTag, 
   302                         S60MCprStates::TRequestReConnect,
   302                         S60MCprStates::TRequestReConnect,
   303                         MCprStates::TAwaitingReConnectCompleteOrError,  // Ok. Error is fatal.
   303                         MCprStates::TAwaitingReConnectCompleteOrError,  // Ok. Error is fatal.
   304                         S60MCprMobilityActivity::TInformMigrationCompletedOrError ) //Own error handling MPM must be informed when error happens.
   304                         MeshMachine::TNoTagOrErrorTag ) //Own error handling MPM must be informed when error happens.
   305 
   305 
   306     NODEACTIVITY_ENTRY( S60MCprStates::KRequestReConnectToCurrentSP,
       
   307                         S60MCprStates::TRequestReConnectToCurrentSP,
       
   308                         MCprStates::TAwaitingReConnectCompleteOrError,
       
   309                         S60MCprMobilityActivity::TInformMigrationCompletedOrError )
       
   310                         
       
   311     // If the migration was acepted we loop again waiting for a new, preferred one
   306     // If the migration was acepted we loop again waiting for a new, preferred one
   312     NODEACTIVITY_ENTRY( S60MCprStates::KInformMigrationCompleted, 
   307     NODEACTIVITY_ENTRY( KNoTag, 
   313                         CS60MobilityActivity::TInformMigrationCompleted, 
   308                         CS60MobilityActivity::TInformMigrationCompleted, 
   314                         S60MCprMobilityActivity::TAwaitingMigrationAcceptedOrRejectedOrStartupErrorIgnoredOrCancel,
   309                         S60MCprMobilityActivity::TAwaitingMigrationAcceptedOrRejectedOrStartupErrorIgnoredOrCancel,
   315                         S60MCprMobilityActivity::TNoTagOrErrorTagOrApplicationRejectedOrConsumeRejected )
   310                         S60MCprMobilityActivity::TNoTagOrErrorTagOrApplicationRejectedOrConsumeRejected )
   316 
   311 
   317     // Informs policy server that application has accepted the carrier
   312     // Informs policy server that application has accepted the carrier