bearermanagement/S60MCPR/inc/s60mcpractivities.h
branchRCL_3
changeset 24 c45d4fe2ff0a
parent 15 4dc3bb0099b0
child 45 4c83dcfb6f1a
equal deleted inserted replaced
19:22c3c67e5001 24:c45d4fe2ff0a
   606     DECLARE_SMELEMENT_HEADER( TNoTagOrInformMigrationAvailableBackwardsOrErrorOrCancel, 
   606     DECLARE_SMELEMENT_HEADER( TNoTagOrInformMigrationAvailableBackwardsOrErrorOrCancel, 
   607                               MeshMachine::TStateFork<TContext>, 
   607                               MeshMachine::TStateFork<TContext>, 
   608                               NetStateMachine::MStateFork, 
   608                               NetStateMachine::MStateFork, 
   609                               TContext )
   609                               TContext )
   610     virtual TInt TransitionTag();
   610     virtual TInt TransitionTag();
   611     DECLARE_SMELEMENT_FOOTER( TNoTagOrInformMigrationAvailableBackwardsOrErrorOrCancel )
   611     DECLARE_SMELEMENT_FOOTER( TNoTagOrInformMigrationAvailableBackwardsOrErrorOrCancel )   
   612 
       
   613     /**
       
   614      * FORK/DECISION: 
       
   615      * 1. Inform that the migration complete or go to error
       
   616      * 2. Error
       
   617      * @return
       
   618      */
       
   619     DECLARE_SMELEMENT_HEADER( TInformMigrationCompletedOrError, 
       
   620                               MeshMachine::TStateFork<TContext>, 
       
   621                               NetStateMachine::MStateFork, 
       
   622                               TContext )
       
   623     virtual TInt TransitionTag();
       
   624     DECLARE_SMELEMENT_FOOTER( TInformMigrationCompletedOrError )
       
   625 
       
   626         
       
   627     
   612     
   628     /**
   613     /**
   629      * Class that is responsible for managing mobility on MCPR side.
   614      * Class that is responsible for managing mobility on MCPR side.
   630      * CS60MobilityActivity is the S60 version of the CMobilityActivity -class
   615      * CS60MobilityActivity is the S60 version of the CMobilityActivity -class
   631      */
   616      */
   800                                       MeshMachine::TStateFork<TContext>, 
   785                                       MeshMachine::TStateFork<TContext>, 
   801                                       NetStateMachine::MStateFork, 
   786                                       NetStateMachine::MStateFork, 
   802                                       CS60MobilityActivity::TContext )
   787                                       CS60MobilityActivity::TContext )
   803             virtual TInt TransitionTag();
   788             virtual TInt TransitionTag();
   804             DECLARE_SMELEMENT_FOOTER( TNoTagOrApplicationRejectedMigrationOrCancel )
   789             DECLARE_SMELEMENT_FOOTER( TNoTagOrApplicationRejectedMigrationOrCancel )
   805 
       
   806             /**
       
   807              * FORK/DECISION: 
       
   808              * 1. Proceed to reconnection
       
   809              * 2. Re-establish connection to the same IAP, inform data client that migration is complete
       
   810              * 3. Error
       
   811              * @return
       
   812              */
       
   813             DECLARE_SMELEMENT_HEADER( TNoTagOrRequestReConnectToCurrentSPOrErrorTag, 
       
   814                                       MeshMachine::TStateFork<TContext>, 
       
   815                                       NetStateMachine::MStateFork, 
       
   816                                       TContext )
       
   817             virtual TInt TransitionTag();
       
   818             DECLARE_SMELEMENT_FOOTER( TNoTagOrRequestReConnectToCurrentSPOrErrorTag )
       
   819             
       
   820             
   790             
   821             /**
   791             /**
   822              * Mutex protected TRANSITION.
   792              * Mutex protected TRANSITION.
   823              * Mopility scenario should wait until the connection recovery finishes.
   793              * Mopility scenario should wait until the connection recovery finishes.
   824              */
   794              */