284 MeshMachine::TTag<S60MCprStates::KProcessError> ) |
284 MeshMachine::TTag<S60MCprStates::KProcessError> ) |
285 |
285 |
286 /** |
286 /** |
287 * CS60ConnectionRecoveryActivity is the S60 version of the ErrorRecovery -activity |
287 * CS60ConnectionRecoveryActivity is the S60 version of the ErrorRecovery -activity |
288 * that is responsible to process connection errors whenever it happens. |
288 * that is responsible to process connection errors whenever it happens. |
289 * |
|
290 * -jl- TODO Either finalize or remove S60CConnectionRecoveryActivity after EC158(?) |
|
291 */ |
289 */ |
292 class CS60ConnectionRecoveryActivity : public S60MCprStates::CS60ErrorRecoveryActivity |
290 class CS60ConnectionRecoveryActivity : public S60MCprStates::CS60ErrorRecoveryActivity |
293 { |
291 { |
294 public: |
292 public: |
295 |
293 |
524 TContext) |
522 TContext) |
525 virtual TBool Accept(); |
523 virtual TBool Accept(); |
526 DECLARE_SMELEMENT_FOOTER( TAwaitingMigrationRequestedOrRejectedOrCancel ) |
524 DECLARE_SMELEMENT_FOOTER( TAwaitingMigrationRequestedOrRejectedOrCancel ) |
527 |
525 |
528 /** |
526 /** |
529 * STATE: Watis for application response. |
527 * STATE: Waits for application response. |
530 * @return ETrue if Migration Accepted or Rejected. |
528 * @return ETrue if Migration Accepted or Rejected or Start-up Error Ignored. |
531 */ |
529 */ |
532 DECLARE_SMELEMENT_HEADER( TAwaitingMigrationAcceptedOrRejectedOrCancel, |
530 DECLARE_SMELEMENT_HEADER( TAwaitingMigrationAcceptedOrRejectedOrStartupErrorIgnoredOrCancel, |
533 MeshMachine::TState<TContext>, |
531 MeshMachine::TState<TContext>, |
534 NetStateMachine::MState, |
532 NetStateMachine::MState, |
535 TContext ) |
533 TContext ) |
536 virtual TBool Accept(); |
534 virtual TBool Accept(); |
537 DECLARE_SMELEMENT_FOOTER( TAwaitingMigrationAcceptedOrRejectedOrCancel ) |
535 DECLARE_SMELEMENT_FOOTER( TAwaitingMigrationAcceptedOrRejectedOrStartupErrorIgnoredOrCancel ) |
538 |
536 |
|
537 /** |
|
538 * STATE: Waits for IPCPR rejected response that ends the mobility handshake. |
|
539 * @return ETrue if Rejected. |
|
540 */ |
|
541 DECLARE_SMELEMENT_HEADER( TAwaitingMigrationRejected, |
|
542 MeshMachine::TState<TContext>, |
|
543 NetStateMachine::MState, |
|
544 TContext ) |
|
545 virtual TBool Accept(); |
|
546 DECLARE_SMELEMENT_FOOTER( TAwaitingMigrationRejected ) |
|
547 |
|
548 |
539 /** |
549 /** |
540 * FORK/DECISION: Returns the KStartMobilityHandshake backwards or error |
550 * FORK/DECISION: Returns the KStartMobilityHandshake backwards or error |
541 * @return KStartMobilityHandshake backwards or error |
551 * @return KStartMobilityHandshake backwards or error |
542 */ |
552 */ |
543 DECLARE_SMELEMENT_HEADER( TStartMobilityHandshakeBackwardsOrError, |
553 DECLARE_SMELEMENT_HEADER( TStartMobilityHandshakeBackwardsOrError, |
561 * FORK/DECISION: Decides what happens after IPCPR application completes the |
571 * FORK/DECISION: Decides what happens after IPCPR application completes the |
562 * three way handshake. |
572 * three way handshake. |
563 * 1. Application accepted, continue to send accept to policy server. |
573 * 1. Application accepted, continue to send accept to policy server. |
564 * 2. Error |
574 * 2. Error |
565 * 3. Application rejected, continue to send reject to policy server. |
575 * 3. Application rejected, continue to send reject to policy server. |
|
576 * 4. Error process occured, consume the next rejected msg/accept msg. |
566 * @return TransitionTag of the selected transition. |
577 * @return TransitionTag of the selected transition. |
567 */ |
578 */ |
568 DECLARE_SMELEMENT_HEADER( TNoTagOrErrorTagOrApplicationRejected, |
579 DECLARE_SMELEMENT_HEADER( TNoTagOrErrorTagOrApplicationRejectedOrConsumeRejected, |
569 MeshMachine::TStateFork<TContext>, |
580 MeshMachine::TStateFork<TContext>, |
570 NetStateMachine::MStateFork, |
581 NetStateMachine::MStateFork, |
571 TContext ) |
582 TContext ) |
572 virtual TInt TransitionTag(); |
583 virtual TInt TransitionTag(); |
573 DECLARE_SMELEMENT_FOOTER( TNoTagOrErrorTagOrApplicationRejected ) |
584 DECLARE_SMELEMENT_FOOTER( TNoTagOrErrorTagOrApplicationRejectedOrConsumeRejected ) |
574 |
585 |
575 /** |
586 /** |
576 * FORK/DECISION: Decides whether to wait MPM actions or report an error. |
587 * FORK/DECISION: Decides whether to wait MPM actions or report an error. |
577 * 1. Wait for further actions. ReSelect is NOT supported. |
588 * 1. Wait for further actions. ReSelect is NOT supported. |
578 * 2. Error |
589 * 2. Error |