|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // PDPSCPR States |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_PDPSCPRSTATES_H |
|
24 #define SYMBIAN_PDPSCPRSTATES_H |
|
25 |
|
26 #include <comms-infras/corescprstates.h> |
|
27 #include <comms-infras/corescpractivities.h> |
|
28 #include "PDPSCPR.h" |
|
29 |
|
30 class TPDPFSMMessages |
|
31 { |
|
32 public: |
|
33 enum { ERealmId = 0x102822EF }; |
|
34 |
|
35 private: |
|
36 enum |
|
37 /** |
|
38 Definition of generic Link Tier message ids |
|
39 */ |
|
40 { |
|
41 EPDPFSMMessage = Messages::KNullMessageId + 1, |
|
42 }; |
|
43 public: |
|
44 typedef Messages::TMessageSigNumberNumber<EPDPFSMMessage, TPDPFSMMessages::ERealmId> TPDPFSMMessage; |
|
45 }; |
|
46 |
|
47 //-========================================================= |
|
48 // |
|
49 // |
|
50 // |
|
51 // States |
|
52 // |
|
53 // |
|
54 // |
|
55 //-========================================================= |
|
56 namespace PDPSCprStates |
|
57 { |
|
58 const TInt KFakeStart = 1; |
|
59 const TInt KBlocked = 2; |
|
60 const TInt KUnblocked = 3; |
|
61 const TInt KSendErrorRecoveryRequest = 4; |
|
62 const TInt KContentionTag = 5; |
|
63 |
|
64 |
|
65 typedef MeshMachine::TNodeContext<CPDPSubConnectionProvider, SCprStates::TContext> TContext; |
|
66 typedef MeshMachine::TNodeContext<CPDPDefaultSubConnectionProvider, PDPSCprStates::TContext> TDefContext; |
|
67 |
|
68 //-========================================================= |
|
69 //Util |
|
70 //-========================================================= |
|
71 DECLARE_SMELEMENT_HEADER( TAwaitingPDPFSMMessage, MeshMachine::TState<TContext>, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
72 TBool Accept(TInt aExtensionId); |
|
73 virtual TBool Accept(); |
|
74 DECLARE_SMELEMENT_FOOTER( TAwaitingPDPFSMMessage ) |
|
75 |
|
76 DECLARE_SMELEMENT_HEADER( TNoTagOrError, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
77 virtual TInt TransitionTag(); |
|
78 DECLARE_SMELEMENT_FOOTER( TNoTagOrError ) |
|
79 |
|
80 DECLARE_SMELEMENT_HEADER( TNoTagOrAlreadyStarted, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
81 virtual TInt TransitionTag(); |
|
82 DECLARE_SMELEMENT_FOOTER( TNoTagOrAlreadyStarted ) |
|
83 |
|
84 DECLARE_SMELEMENT_HEADER( TSendDataClientIdleIfNoSubconnsAndNoClients, MeshMachine::TStateTransition<TDefContext>, NetStateMachine::MStateTransition, TDefContext ) |
|
85 virtual void DoL(); |
|
86 DECLARE_SMELEMENT_FOOTER( TSendDataClientIdleIfNoSubconnsAndNoClients ) |
|
87 |
|
88 DECLARE_SMELEMENT_HEADER( TNoTagOrSendErrorRecoveryRequestOrError, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
89 virtual TInt TransitionTag(); |
|
90 DECLARE_SMELEMENT_FOOTER( TNoTagOrSendErrorRecoveryRequestOrError ) |
|
91 |
|
92 DECLARE_SMELEMENT_HEADER( TNoTagBackwardOrErrorTag, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
93 virtual TInt TransitionTag(); |
|
94 DECLARE_SMELEMENT_FOOTER( TNoTagBackwardOrErrorTag ) |
|
95 |
|
96 DECLARE_SMELEMENT_HEADER( TNoTagOrContentionTag, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
97 virtual TInt TransitionTag(); |
|
98 DECLARE_SMELEMENT_FOOTER( TNoTagOrContentionTag ) |
|
99 |
|
100 |
|
101 //-========================================================= |
|
102 //Provision |
|
103 //-========================================================= |
|
104 DECLARE_SMELEMENT_HEADER( TSelfInit, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
105 virtual void DoL(); |
|
106 DECLARE_SMELEMENT_FOOTER( TSelfInit) |
|
107 |
|
108 DECLARE_AGGREGATED_TRANSITION2( |
|
109 TStoreProvisionAndInitSelf, |
|
110 PRStates::TStoreProvision, |
|
111 PDPSCprStates::TSelfInit |
|
112 ) |
|
113 |
|
114 //-========================================================= |
|
115 //Creating context |
|
116 //-========================================================= |
|
117 class CStartActivity : public MeshMachine::CNodeRetryActivity |
|
118 { |
|
119 public: |
|
120 static MeshMachine::CNodeActivityBase* NewL( const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode ); |
|
121 virtual ~CStartActivity(); |
|
122 protected: |
|
123 |
|
124 CStartActivity( const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode); |
|
125 }; |
|
126 |
|
127 DECLARE_SMELEMENT_HEADER( TCreatePrimaryPDPCtx, MeshMachine::TStateTransition<PDPSCprStates::TDefContext>, NetStateMachine::MStateTransition, PDPSCprStates::TDefContext) |
|
128 virtual void DoL(); |
|
129 private: |
|
130 void SetupSipServerAddrRetrievalL(RPacketContext::TProtocolConfigOptionV2& aPco); |
|
131 void SetImsSignallingFlagL(RPacketContext::TProtocolConfigOptionV2& aPco, TBool aImcn); |
|
132 TBool IsModeGsmL() const; |
|
133 DECLARE_SMELEMENT_FOOTER( TCreatePrimaryPDPCtx) |
|
134 |
|
135 DECLARE_SMELEMENT_HEADER( TCreateSecondaryOrMbmsPDPCtx, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
136 virtual void DoL(); |
|
137 DECLARE_SMELEMENT_FOOTER( TCreateSecondaryOrMbmsPDPCtx) |
|
138 |
|
139 DECLARE_SMELEMENT_HEADER( TOverrideProvision, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
140 virtual void DoL(); |
|
141 DECLARE_SMELEMENT_FOOTER( TOverrideProvision) |
|
142 |
|
143 DECLARE_SMELEMENT_HEADER(TSendErrorRecoveryRequest, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
144 virtual void DoL(); |
|
145 DECLARE_SMELEMENT_FOOTER(TSendErrorRecoveryRequest) |
|
146 |
|
147 DECLARE_SMELEMENT_HEADER( TAwaitingPDPCtxCreated, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
148 virtual TBool Accept(); |
|
149 DECLARE_SMELEMENT_FOOTER( TAwaitingPDPCtxCreated ) |
|
150 |
|
151 DECLARE_SMELEMENT_HEADER( TAwaitingPrimaryPDPCtxCreated, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
152 virtual TBool Accept(); |
|
153 DECLARE_SMELEMENT_FOOTER( TAwaitingPrimaryPDPCtxCreated ) |
|
154 |
|
155 DECLARE_AGGREGATED_TRANSITION2( |
|
156 TOverrideProvisionAndStartDataClient, |
|
157 PDPSCprStates::TOverrideProvision, |
|
158 PRStates::TStartDataClients |
|
159 ) |
|
160 |
|
161 //-========================================================= |
|
162 //Activiating context |
|
163 //-========================================================= |
|
164 DECLARE_SMELEMENT_HEADER( TActivatePDPContext, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
165 virtual void DoL(); |
|
166 DECLARE_SMELEMENT_FOOTER( TActivatePDPContext) |
|
167 |
|
168 DECLARE_SMELEMENT_HEADER( TAwaitingPDPContextActive, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
169 virtual TBool Accept(); |
|
170 DECLARE_SMELEMENT_FOOTER( TAwaitingPDPContextActive ) |
|
171 |
|
172 DECLARE_SMELEMENT_HEADER( TModifyActivePDPContext, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
173 virtual void DoL(); |
|
174 DECLARE_SMELEMENT_FOOTER( TModifyActivePDPContext) |
|
175 |
|
176 DECLARE_SMELEMENT_HEADER( TAwaitingActivePDPContextModified, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
177 virtual TBool Accept(); |
|
178 DECLARE_SMELEMENT_FOOTER( TAwaitingActivePDPContextModified ) |
|
179 |
|
180 DECLARE_SMELEMENT_HEADER( TGetNegotiatedQoS, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
181 virtual void DoL(); |
|
182 DECLARE_SMELEMENT_FOOTER( TGetNegotiatedQoS) |
|
183 |
|
184 DECLARE_SMELEMENT_HEADER( TAwaitingNegotiatedQoSRetrieved, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
185 virtual TBool Accept(); |
|
186 DECLARE_SMELEMENT_FOOTER( TAwaitingNegotiatedQoSRetrieved ) |
|
187 |
|
188 DECLARE_SMELEMENT_HEADER( TSendDataClientStarted, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
189 virtual void DoL(); |
|
190 DECLARE_SMELEMENT_FOOTER( TSendDataClientStarted) |
|
191 |
|
192 DECLARE_SMELEMENT_HEADER( TSendDataClientStopped, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
193 virtual void DoL(); |
|
194 DECLARE_SMELEMENT_FOOTER( TSendDataClientStopped) |
|
195 |
|
196 //=========================================================== |
|
197 // Primary GoneDown |
|
198 //=========================================================== |
|
199 class CPrimaryPDPGoneDownActivity : public MeshMachine::CNodeActivityBase |
|
200 { |
|
201 /* |
|
202 */ |
|
203 public: |
|
204 static MeshMachine::CNodeActivityBase* NewL(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode); |
|
205 virtual ~CPrimaryPDPGoneDownActivity(); |
|
206 CPDPSubConnectionProvider* NewDefault(); |
|
207 |
|
208 protected: |
|
209 CPrimaryPDPGoneDownActivity(const MeshMachine::TNodeActivity& aActivitySig, MeshMachine::AMMNodeBase& aNode ); |
|
210 private: |
|
211 CPDPSubConnectionProvider* iNewDefault; |
|
212 Messages::TNodeId iOriginalDataClient; |
|
213 |
|
214 protected: |
|
215 typedef MeshMachine::TNodeContext<CPDPSubConnectionProvider, CoreNetStates::TContext> TContext; |
|
216 |
|
217 public: |
|
218 DECLARE_SMELEMENT_HEADER( TApplyNewDefault, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, TContext) |
|
219 virtual void DoL(); |
|
220 DECLARE_SMELEMENT_FOOTER( TApplyNewDefault) |
|
221 |
|
222 DECLARE_SMELEMENT_HEADER( TSwitchToNewDefault, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, TContext) |
|
223 virtual void DoL(); |
|
224 DECLARE_SMELEMENT_FOOTER( TSwitchToNewDefault) |
|
225 |
|
226 DECLARE_SMELEMENT_HEADER( TRejoinDataClient, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, TContext) |
|
227 virtual void DoL(); |
|
228 DECLARE_SMELEMENT_FOOTER( TRejoinDataClient) |
|
229 |
|
230 DECLARE_SMELEMENT_HEADER( TStoreOriginalDataClient, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, TContext) |
|
231 virtual void DoL(); |
|
232 DECLARE_SMELEMENT_FOOTER( TStoreOriginalDataClient) |
|
233 |
|
234 DECLARE_SMELEMENT_HEADER( TStopOriginalDataClient, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, TContext) |
|
235 virtual void DoL(); |
|
236 DECLARE_SMELEMENT_FOOTER( TStopOriginalDataClient) |
|
237 |
|
238 DECLARE_SMELEMENT_HEADER( TNoTagOrProviderStopped, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
239 virtual TInt TransitionTag(); |
|
240 DECLARE_SMELEMENT_FOOTER( TNoTagOrProviderStopped ) |
|
241 }; |
|
242 |
|
243 |
|
244 //-========================================================= |
|
245 //Setting Params |
|
246 //-========================================================= |
|
247 DECLARE_SMELEMENT_HEADER( TSetQoS, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
248 virtual void DoL(); |
|
249 DECLARE_SMELEMENT_FOOTER( TSetQoS) |
|
250 |
|
251 DECLARE_SMELEMENT_HEADER( TAwaitingQoSSet, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
252 virtual TBool Accept(); |
|
253 DECLARE_SMELEMENT_FOOTER( TAwaitingQoSSet ) |
|
254 |
|
255 DECLARE_SMELEMENT_HEADER( TSetTFT, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
256 virtual void DoL(); |
|
257 DECLARE_SMELEMENT_FOOTER( TSetTFT) |
|
258 |
|
259 DECLARE_SMELEMENT_HEADER( TSetMbmsParameters, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
260 virtual void DoL(); |
|
261 DECLARE_SMELEMENT_FOOTER( TSetMbmsParameters) |
|
262 |
|
263 DECLARE_SMELEMENT_HEADER( TAwaitingTFTSet, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TDefContext ) |
|
264 virtual TBool Accept(); |
|
265 DECLARE_SMELEMENT_FOOTER( TAwaitingTFTSet ) |
|
266 |
|
267 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
268 DECLARE_AGGREGATED_TRANSITION2( |
|
269 TStoreAndRespondWithCurrentParams, |
|
270 PRStates::TStoreAndRespondWithCurrentParams, |
|
271 PDPSCprStates::TSetMbmsParameters |
|
272 ) |
|
273 #else |
|
274 DECLARE_AGGREGATED_TRANSITION3( |
|
275 TStoreParamsAndRespond, |
|
276 SCprStates::TStoreParams, |
|
277 SCprStates::TRespondWithCurrentParams, |
|
278 PDPSCprStates::TSetMbmsParameters |
|
279 ) |
|
280 #endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
281 |
|
282 //-========================================================= |
|
283 //Events |
|
284 //-========================================================= |
|
285 DECLARE_SMELEMENT_HEADER( TBlockedOrUnblocked, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, PDPSCprStates::TContext ) |
|
286 virtual TInt TransitionTag(); |
|
287 DECLARE_SMELEMENT_FOOTER( TBlockedOrUnblocked ) |
|
288 |
|
289 DECLARE_SMELEMENT_HEADER( TMbmsCtxOrPdpCtx, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, PDPSCprStates::TContext ) |
|
290 virtual TInt TransitionTag(); |
|
291 DECLARE_SMELEMENT_FOOTER( TMbmsCtxOrPdpCtx ) |
|
292 |
|
293 DECLARE_SMELEMENT_HEADER( TAwaitingParamsChanged, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
294 virtual TBool Accept(); |
|
295 DECLARE_SMELEMENT_FOOTER( TAwaitingParamsChanged ) |
|
296 |
|
297 DECLARE_SMELEMENT_HEADER( TAwaitingContextBlockedOrUnblocked, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
298 virtual TBool Accept(); |
|
299 DECLARE_SMELEMENT_FOOTER( TAwaitingContextBlockedOrUnblocked ) |
|
300 |
|
301 DECLARE_SMELEMENT_HEADER( TForwardContextBlockedOrUnblockedToDC, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
302 virtual void DoL(); |
|
303 DECLARE_SMELEMENT_FOOTER( TForwardContextBlockedOrUnblockedToDC) |
|
304 |
|
305 |
|
306 DECLARE_SMELEMENT_HEADER( TSendDataTransferTemporarilyBlocked, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
307 virtual void DoL(); |
|
308 DECLARE_SMELEMENT_FOOTER( TSendDataTransferTemporarilyBlocked ) |
|
309 |
|
310 DECLARE_SMELEMENT_HEADER( TSendDataTransferUnblocked, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
311 virtual void DoL(); |
|
312 DECLARE_SMELEMENT_FOOTER( TSendDataTransferUnblocked ) |
|
313 |
|
314 DECLARE_AGGREGATED_TRANSITION2( |
|
315 TRaiseParamsGrantedAndSendDataClientStarted, |
|
316 PDPSCprStates::TFillInGrantedParams, |
|
317 PDPSCprStates::TSendDataClientStarted |
|
318 ) |
|
319 |
|
320 DECLARE_SMELEMENT_HEADER( TParamsEvent, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
321 void FillInEventL(CSubConGenEventParamsGranted& aEvent); |
|
322 void FillInGrantedL(RParameterFamily& aFamily, const CSubConGenEventParamsGranted& aEvent); |
|
323 void FillInMbmsSessionIdsL(CSubConGenEventParamsGranted& aEvent); |
|
324 DECLARE_SMELEMENT_FOOTER( TParamsEvent) |
|
325 |
|
326 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
327 DECLARE_AGGREGATED_TRANSITION2( |
|
328 TRaiseParamsGrantedAndSendApplyResponse, |
|
329 PDPSCprStates::TFillInGrantedParams, |
|
330 PRStates::TSendApplyResponse |
|
331 ) |
|
332 #else |
|
333 DECLARE_AGGREGATED_TRANSITION2( |
|
334 TRaiseParamsGrantedAndSendApplyResponse, |
|
335 PDPSCprStates::TFillInGrantedParams, |
|
336 SCprStates::TSendApplyResponse |
|
337 ) |
|
338 #endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
339 |
|
340 DECLARE_SMELEMENT_HEADER( TFillInGrantedParams, PDPSCprStates::TParamsEvent, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
341 virtual void DoL(); |
|
342 DECLARE_SMELEMENT_FOOTER( TFillInGrantedParams) |
|
343 |
|
344 DECLARE_SMELEMENT_HEADER( TFillInImsExtParams, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
345 virtual void DoL(); |
|
346 DECLARE_SMELEMENT_FOOTER( TFillInImsExtParams) |
|
347 |
|
348 DECLARE_SMELEMENT_HEADER( TRaiseParamsRejectedL, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
349 virtual void DoL(); |
|
350 DECLARE_SMELEMENT_FOOTER( TRaiseParamsRejectedL) |
|
351 |
|
352 DECLARE_SMELEMENT_HEADER( TRaiseParamsChanged, PDPSCprStates::TParamsEvent, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
353 virtual void DoL(); |
|
354 DECLARE_SMELEMENT_FOOTER( TRaiseParamsChanged) |
|
355 |
|
356 DECLARE_SMELEMENT_HEADER( TAwaitingNetworkStatusEvent, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
357 virtual TBool Accept(); |
|
358 DECLARE_SMELEMENT_FOOTER( TAwaitingNetworkStatusEvent ) |
|
359 |
|
360 DECLARE_SMELEMENT_HEADER( TNetworkStatusEventTypeTag, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
361 virtual TInt TransitionTag(); |
|
362 DECLARE_SMELEMENT_FOOTER( TNetworkStatusEventTypeTag ) |
|
363 |
|
364 DECLARE_SMELEMENT_HEADER( TSendGoneDown, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
365 virtual void DoL(); |
|
366 DECLARE_SMELEMENT_FOOTER( TSendGoneDown) |
|
367 |
|
368 DECLARE_AGGREGATED_TRANSITION2( |
|
369 TFillInGrantedParamsAndImsExtParams, |
|
370 PDPSCprStates::TFillInGrantedParams, |
|
371 PDPSCprStates::TFillInImsExtParams |
|
372 ) |
|
373 |
|
374 //-========================================================= |
|
375 //Destroying context |
|
376 //-========================================================= |
|
377 DECLARE_SMELEMENT_HEADER( TDestroyPDPContext, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
378 virtual void DoL(); |
|
379 DECLARE_SMELEMENT_FOOTER( TDestroyPDPContext) |
|
380 |
|
381 DECLARE_SMELEMENT_HEADER( TAwaitingPDPContextDestroyed, PDPSCprStates::TAwaitingPDPFSMMessage, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
382 virtual TBool Accept(); |
|
383 DECLARE_SMELEMENT_FOOTER( TAwaitingPDPContextDestroyed ) |
|
384 |
|
385 DECLARE_SMELEMENT_HEADER( TAwaitingPDPContextGoneDown, PDPSCprStates::TAwaitingPDPContextDestroyed, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
386 virtual TBool Accept(); |
|
387 DECLARE_SMELEMENT_FOOTER( TAwaitingPDPContextGoneDown ) |
|
388 |
|
389 DECLARE_SMELEMENT_HEADER( TNoTagOrProviderStopped, MeshMachine::TStateFork<TContext>, NetStateMachine::MStateFork, TContext ) |
|
390 virtual TInt TransitionTag(); |
|
391 DECLARE_SMELEMENT_FOOTER( TNoTagOrProviderStopped ) |
|
392 |
|
393 |
|
394 //=========================================================== |
|
395 // Sip Address retrieval |
|
396 //=========================================================== |
|
397 DECLARE_SMELEMENT_HEADER( TAwaitingIoctlMessage, MeshMachine::TState<TContext>, NetStateMachine::MState, PDPSCprStates::TContext ) |
|
398 virtual TBool Accept(); |
|
399 DECLARE_SMELEMENT_FOOTER( TAwaitingIoctlMessage ) |
|
400 |
|
401 DECLARE_SMELEMENT_HEADER( TRetrieveSipAddr, MeshMachine::TStateTransition<TDefContext>, NetStateMachine::MStateTransition, PDPSCprStates::TDefContext) |
|
402 virtual void DoL(); |
|
403 DECLARE_SMELEMENT_FOOTER( TRetrieveSipAddr) |
|
404 |
|
405 //=========================================================== |
|
406 // Cancel Start or Stop |
|
407 //=========================================================== |
|
408 |
|
409 DECLARE_SMELEMENT_HEADER( TAwaitingDataClientStopOrCancel, MeshMachine::TState<TContext>, NetStateMachine::MState, TContext ) |
|
410 virtual TBool Accept(); |
|
411 DECLARE_SMELEMENT_FOOTER( TAwaitingDataClientStopOrCancel ) |
|
412 |
|
413 DECLARE_SMELEMENT_HEADER( TCancelDataClientStartInPDP, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPSCprStates::TContext) |
|
414 virtual void DoL(); |
|
415 DECLARE_SMELEMENT_FOOTER( TCancelDataClientStartInPDP ) |
|
416 |
|
417 } |
|
418 |
|
419 #endif // SYMBIAN_PDPSCPRSTATES_H |