|
1 // Copyright (c) 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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @InternalTechnology |
|
19 @released |
|
20 */ |
|
21 |
|
22 #ifndef __MOBILITYMESSAGES_INTERNAL_H__ |
|
23 #define __MOBILITYMESSAGES_INTERNAL_H__ |
|
24 |
|
25 #include <comms-infras/ss_api_ext.h> |
|
26 |
|
27 namespace ESock |
|
28 { |
|
29 |
|
30 |
|
31 /** |
|
32 Information container for this plugin with respect to mobility |
|
33 request messages. |
|
34 |
|
35 @internalTechnology |
|
36 */ |
|
37 class CMobilityMsgPluginInfo : public CExtItfMsgPluginInfo |
|
38 { |
|
39 public: |
|
40 IMPORT_C static CMobilityMsgPluginInfo* NewL(TAny* aParams); |
|
41 IMPORT_C const TImplementationProxy* ImplementationProxy() const; |
|
42 IMPORT_C TInt ImplementationProxyTableSize() const; |
|
43 }; |
|
44 |
|
45 class TCommsMobilityApiExtReqMsg : public TCommsApiExtReqMsg |
|
46 /** |
|
47 Mobility request message. |
|
48 |
|
49 @internalTechnology |
|
50 @released |
|
51 */ |
|
52 { |
|
53 }; |
|
54 |
|
55 class TMigrateToPreferredCarrier : public TCommsMobilityApiExtReqMsg |
|
56 /** |
|
57 Migration to preferred carrier is allowed message. |
|
58 |
|
59 @internalTechnology |
|
60 @released |
|
61 */ |
|
62 { |
|
63 public: |
|
64 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
65 |
|
66 DECLARE_MVIP_CTR(TMigrateToPreferredCarrier) |
|
67 |
|
68 EXPORT_DATA_VTABLE_AND_FN |
|
69 }; |
|
70 |
|
71 class TIgnorePreferredCarrier : public TCommsMobilityApiExtReqMsg |
|
72 /** |
|
73 Migration to preferred carrier is not allowed message. |
|
74 |
|
75 @internalTechnology |
|
76 @released |
|
77 */ |
|
78 { |
|
79 public: |
|
80 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
81 |
|
82 inline TInt Reason() const; |
|
83 inline void SetReason(TInt aReason); |
|
84 |
|
85 DECLARE_MVIP_CTR(TIgnorePreferredCarrier) |
|
86 |
|
87 EXPORT_DATA_VTABLE_AND_FN |
|
88 |
|
89 protected: |
|
90 TInt iReason; |
|
91 }; |
|
92 |
|
93 class TNewCarrierAccepted : public TCommsMobilityApiExtReqMsg |
|
94 /** |
|
95 New carrier accepted message. |
|
96 |
|
97 @internalTechnology |
|
98 @released |
|
99 */ |
|
100 { |
|
101 public: |
|
102 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
103 |
|
104 DECLARE_MVIP_CTR(TNewCarrierAccepted) |
|
105 |
|
106 EXPORT_DATA_VTABLE_AND_FN |
|
107 }; |
|
108 |
|
109 class TNewCarrierRejected : public TCommsMobilityApiExtReqMsg |
|
110 /** |
|
111 New carrier rejected message. |
|
112 |
|
113 @internalTechnology |
|
114 @released |
|
115 */ |
|
116 { |
|
117 public: |
|
118 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
119 |
|
120 DECLARE_MVIP_CTR(TNewCarrierRejected) |
|
121 |
|
122 EXPORT_DATA_VTABLE_AND_FN |
|
123 }; |
|
124 |
|
125 class TMobilitySubscriptionMsg : public TCommsMobilityApiExtReqMsg |
|
126 /** |
|
127 Mobility subscription message. |
|
128 |
|
129 @internalTechnology |
|
130 @released |
|
131 */ |
|
132 { |
|
133 public: |
|
134 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
135 |
|
136 DECLARE_MVIP_CTR(TMobilitySubscriptionMsg) |
|
137 |
|
138 EXPORT_DATA_VTABLE_AND_FN |
|
139 }; |
|
140 |
|
141 class TMobilitySubscriptionCancelMsg : public TCommsMobilityApiExtReqMsg |
|
142 /** |
|
143 Mobility subscription cancellation message. |
|
144 |
|
145 @internalTechnology |
|
146 @released |
|
147 */ |
|
148 { |
|
149 public: |
|
150 IMPORT_C void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::RResponseMsg& aResponseMsg); |
|
151 |
|
152 DECLARE_MVIP_CTR(TMobilitySubscriptionCancelMsg) |
|
153 |
|
154 EXPORT_DATA_VTABLE_AND_FN |
|
155 }; |
|
156 |
|
157 #include <comms-infras/mobilitymessages.inl> |
|
158 } // namespace ESock |
|
159 |
|
160 #endif // __MOBILITYMESSAGES_INTERNAL_H__ |
|
161 |