82 |
82 |
83 DECLARE_SMELEMENT_HEADER( TSelectMetaPlane, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
83 DECLARE_SMELEMENT_HEADER( TSelectMetaPlane, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
84 virtual void DoL(); |
84 virtual void DoL(); |
85 DECLARE_SMELEMENT_FOOTER( TSelectMetaPlane ) |
85 DECLARE_SMELEMENT_FOOTER( TSelectMetaPlane ) |
86 |
86 |
|
87 DECLARE_SMELEMENT_HEADER( TJoinReceivedCpr, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
|
88 virtual void DoL(); |
|
89 DECLARE_SMELEMENT_FOOTER( TJoinReceivedCpr ) |
|
90 |
87 DECLARE_SMELEMENT_HEADER( TSendFinishedSelectionStateChange, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
91 DECLARE_SMELEMENT_HEADER( TSendFinishedSelectionStateChange, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
88 virtual void DoL(); |
92 virtual void DoL(); |
89 DECLARE_SMELEMENT_FOOTER( TSendFinishedSelectionStateChange ) |
93 DECLARE_SMELEMENT_FOOTER( TSendFinishedSelectionStateChange ) |
90 |
94 |
91 |
95 |
111 DECLARE_SMELEMENT_FOOTER( TProcessBinderResponseForCpr ) |
115 DECLARE_SMELEMENT_FOOTER( TProcessBinderResponseForCpr ) |
112 |
116 |
113 DECLARE_SMELEMENT_HEADER( TStartConnection, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
117 DECLARE_SMELEMENT_HEADER( TStartConnection, SubSessStates::TECABStateTransitionBase<TContext>, NetStateMachine::MStateTransition, TContext ) |
114 virtual void DoL(); |
118 virtual void DoL(); |
115 DECLARE_SMELEMENT_FOOTER( TStartConnection ) |
119 DECLARE_SMELEMENT_FOOTER( TStartConnection ) |
|
120 |
|
121 DECLARE_AGGREGATED_TRANSITION2( |
|
122 TSendFinishedSelectionAndJoinReceivedCpr, |
|
123 ConnStates::TSendFinishedSelectionStateChange, |
|
124 ConnStates::TJoinReceivedCpr |
|
125 ) |
116 |
126 |
117 DECLARE_SMELEMENT_HEADER( TErrorOrCancel, MeshMachine::TStateFork<ConnStates::TContext>, NetStateMachine::MStateFork, ConnStates::TContext ) |
127 DECLARE_SMELEMENT_HEADER( TErrorOrCancel, MeshMachine::TStateFork<ConnStates::TContext>, NetStateMachine::MStateFork, ConnStates::TContext ) |
118 virtual TInt TransitionTag(); |
128 virtual TInt TransitionTag(); |
119 DECLARE_SMELEMENT_FOOTER( TErrorOrCancel ) |
129 DECLARE_SMELEMENT_FOOTER( TErrorOrCancel ) |
120 |
130 |
513 friend class AllInterfaceNotificationActivity::TCancelLinkNotification; |
523 friend class AllInterfaceNotificationActivity::TCancelLinkNotification; |
514 friend class AllInterfaceNotificationActivity::TLeaveTierManager; |
524 friend class AllInterfaceNotificationActivity::TLeaveTierManager; |
515 |
525 |
516 public: |
526 public: |
517 static MeshMachine::CNodeActivityBase* NewL(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode); |
527 static MeshMachine::CNodeActivityBase* NewL(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode); |
518 void InterfaceStateChangeNotification(const TDesC8& aInfo); |
|
519 ESock::CCommsFactoryBase* IpProtoCprFactory() const; |
|
520 |
528 |
521 private: |
529 private: |
522 CAllInterfaceNotificationActivity(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode) : |
530 CAllInterfaceNotificationActivity(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode) : |
523 MeshMachine::CNodeActivityBase(aActivitySig, aNode) |
531 MeshMachine::CNodeActivityBase(aActivitySig, aNode) |
524 { |
532 { |
525 iTierUid = TUid::Uid(KIPProtoTierId); // IPProto tier |
533 iTierUid = TUid::Uid(KIPProtoTierId); // IPProto tier |
526 iAllInterfaceNotificationWorker = static_cast<const CAllInterfaceNotificationWorker*>(&aNode); |
534 iAllInterfaceNotificationWorker = static_cast<const CAllInterfaceNotificationWorker*>(&aNode); |
527 } |
535 } |
528 |
536 |
529 virtual ~CAllInterfaceNotificationActivity(); |
537 virtual ~CAllInterfaceNotificationActivity(); |
530 const Factories::TAnyFn& GetVTable() { return iInterfaceVTableF[0]; }; |
|
531 |
538 |
532 private: |
539 private: |
533 TUid iTierUid; |
540 TUid iTierUid; |
534 Messages::TNodeId iTierManager; |
541 Messages::TNodeId iTierManager; |
535 const CAllInterfaceNotificationWorker* iAllInterfaceNotificationWorker; |
542 const CAllInterfaceNotificationWorker* iAllInterfaceNotificationWorker; |
536 TBool iRegisteredForInterfaceStateChanges:1; // Registered with IpProtoCpr factory |
|
537 |
|
538 private: |
|
539 static const ESock::TAnyFn iInterfaceVTableF[]; |
|
540 }; |
543 }; |
541 |
544 |
542 /** |
545 /** |
543 An activity supporting the legacy RConnection::EnumerateConnections method. |
546 An activity supporting the legacy RConnection::EnumerateConnections method. |
544 */ |
547 */ |