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