equal
deleted
inserted
replaced
35 // Namespaces |
35 // Namespaces |
36 using namespace S60MCPRMPMOperations; |
36 using namespace S60MCPRMPMOperations; |
37 |
37 |
38 // Forward declaration |
38 // Forward declaration |
39 class CMPMPolicyNotifications; |
39 class CMPMPolicyNotifications; |
|
40 |
|
41 // Initial reconnect timeout is 100 000 microseconds (0.1 sec), |
|
42 // which is doubled upon issuing the first timer request |
|
43 const TInt KMPMReconnectTimeoutMultiplier = 2; |
|
44 const TInt KMPMInitialReconnectTimeout = 100000 / KMPMReconnectTimeoutMultiplier; |
|
45 const TInt KMPMMaxReconnectTimeout = 800000; |
40 |
46 |
41 /** |
47 /** |
42 * S60 NetMCPR MPM interface management Class inherits from CActive |
48 * S60 NetMCPR MPM interface management Class inherits from CActive |
43 */ |
49 */ |
44 NONSHARABLE_CLASS( CMPMPolicyRequests ) |
50 NONSHARABLE_CLASS( CMPMPolicyRequests ) |
255 /** |
261 /** |
256 * Delete object asynchronously |
262 * Delete object asynchronously |
257 * @since 5.2 |
263 * @since 5.2 |
258 */ |
264 */ |
259 void IssueDeleteRequest(); |
265 void IssueDeleteRequest(); |
260 |
266 |
261 private: |
267 private: |
262 // policy request list |
268 // policy request list |
263 RArray<PolicyRequest> iPolicyRequests; |
269 RArray<PolicyRequest> iPolicyRequests; |
264 // client handle to mpm |
270 // client handle to mpm |
265 RMPM iMpm; |
271 RMPM iMpm; |
267 // handle MPM notifications |
273 // handle MPM notifications |
268 //CBearerManPolicyNotif* iBearerManPolicyNotif; |
274 //CBearerManPolicyNotif* iBearerManPolicyNotif; |
269 TBool iCommitedToDeleteItself; |
275 TBool iCommitedToDeleteItself; |
270 CMPMPolicyNotifications* iPolicyNotifications; |
276 CMPMPolicyNotifications* iPolicyNotifications; |
271 MMPMPolicyNotificationUser* iPolicyNotificationsUser; |
277 MMPMPolicyNotificationUser* iPolicyNotificationsUser; |
|
278 |
|
279 // Reconnect timer related variables |
|
280 RTimer iReconnectTimer; |
|
281 TBool iReconnectTimerRunning; |
|
282 TInt iReconnectTimeout; |
272 }; |
283 }; |
273 |
284 |
274 #endif // S60MPMREQUESTS_H |
285 #endif // S60MPMREQUESTS_H |
275 |
286 |