equal
deleted
inserted
replaced
2090 } |
2090 } |
2091 |
2091 |
2092 EXPORT_DEFINE_SMELEMENT(TCancelDataClientStart, NetStateMachine::MStateTransition, PRStates::TContext) |
2092 EXPORT_DEFINE_SMELEMENT(TCancelDataClientStart, NetStateMachine::MStateTransition, PRStates::TContext) |
2093 EXPORT_C void TCancelDataClientStart::DoL() |
2093 EXPORT_C void TCancelDataClientStart::DoL() |
2094 { |
2094 { |
2095 // Cancel must come from the same activity that sent TStart |
2095 CNodeActivityBase* dcstart = iContext.Node().FindActivityById(ECFActivityStartDataClient); |
2096 // This transition will handle Data Clients started by ECFActivityStart |
2096 if (dcstart) |
2097 // it will not handle those started by ECFActivityStartDataClient |
2097 { |
2098 RClientInterface::OpenPostMessageClose(TNodeCtxId(ECFActivityStart, iContext.NodeId()), iContext.NodeId(), TEBase::TCancel().CRef()); |
2098 dcstart->Cancel(iContext); |
|
2099 } |
2099 } |
2100 } |
2100 |
2101 |
2101 EXPORT_DEFINE_SMELEMENT(TProcessDataClientStop, NetStateMachine::MStateTransition, PRStates::TContext) |
2102 EXPORT_DEFINE_SMELEMENT(TProcessDataClientStop, NetStateMachine::MStateTransition, PRStates::TContext) |
2102 EXPORT_C void TProcessDataClientStop::DoL() |
2103 EXPORT_C void TProcessDataClientStop::DoL() |
2103 { |
2104 { |