1 // Copyright (c) 2004-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 // PDP config change notifier |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef CPDPCONFIGCHAGENOTIFIER_H |
|
24 #define CPDPCONFIGCHAGENOTIFIER_H |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <etelpckt.h> |
|
28 #include <networking/umtsnifcontrolif.h> |
|
29 |
|
30 #include "eteldrivernmspace.h" |
|
31 #include "ceteldrivernotifier.h" |
|
32 |
|
33 /** notifier for packet context config */ |
|
34 class CPdpConfigChangeNotifier : public CEtelDriverNotifier |
|
35 { |
|
36 public: |
|
37 CPdpConfigChangeNotifier(TContextId aId, RPacketContext& aPacketContext, |
|
38 CPdpFsmInterface& aPdpFsmInterface); |
|
39 virtual ~CPdpConfigChangeNotifier(); |
|
40 |
|
41 virtual void Start(); |
|
42 |
|
43 protected: |
|
44 virtual void Notify(const TRequestStatus& aStatus); |
|
45 virtual void DoCancel(); |
|
46 |
|
47 private: |
|
48 /** context id */ |
|
49 TContextId iId; |
|
50 /** underlying packet context */ |
|
51 RPacketContext& iPacketContext; |
|
52 |
|
53 /** packet context config */ |
|
54 RPacketContext::TContextConfigGPRS iConfigGPRS; |
|
55 /** packaged packet context config */ |
|
56 EtelDriver::TContextConfigGPRSPckg iConfigGPRSPckg; |
|
57 }; |
|
58 |
|
59 #endif // CPDPCONFIGCHAGENOTIFIER_H |
|