199 class CMPMConfirmDlgStarting; |
199 class CMPMConfirmDlgStarting; |
200 class CMPMDefaultConnection; |
200 class CMPMDefaultConnection; |
201 class CMPMWlanQueryDialog; |
201 class CMPMWlanQueryDialog; |
202 class CMPMDialog; |
202 class CMPMDialog; |
203 class CMPMConnPermQueryTimer; |
203 class CMPMConnPermQueryTimer; |
204 class CMPMOfflineQueryTimer; |
|
205 class CMPMConnSelectionDlgTimer; |
|
206 |
204 |
207 // CLASS DECLARATION |
205 // CLASS DECLARATION |
208 /** |
206 /** |
209 * Class structure to associate Connection Id |
207 * Class structure to associate Connection Id |
210 * and the list of blacklisted IAPs |
208 * and the list of blacklisted IAPs |
913 */ |
911 */ |
914 CMPMServerSession* GetServerSession( TConnectionId aConnId ) const; |
912 CMPMServerSession* GetServerSession( TConnectionId aConnId ) const; |
915 |
913 |
916 /** |
914 /** |
917 * Stops cellular connections, except MMS |
915 * Stops cellular connections, except MMS |
918 * @param aSilentOnly stop only silent cellular connections |
916 * @since 5.2 |
919 * @since 5.2 |
917 */ |
920 */ |
918 void StopCellularConns(); |
921 void StopCellularConns( TBool aSilentOnly = EFalse ); |
|
922 |
919 |
923 /** |
920 /** |
924 * Offline mode watcher updates the mode variable stored by MPM server. |
921 * Offline mode watcher updates the mode variable stored by MPM server. |
925 * @since 5.2 |
922 * @since 5.2 |
926 * @param aNewModeValue New offline mode value |
923 * @param aNewModeValue New offline mode value |
966 * During the timer, no connection permission query can be initiated. |
963 * During the timer, no connection permission query can be initiated. |
967 * @since 5.2 |
964 * @since 5.2 |
968 * @return ETrue if timer is running, EFalse otherwise. |
965 * @return ETrue if timer is running, EFalse otherwise. |
969 */ |
966 */ |
970 TBool IsConnPermQueryTimerOn(); |
967 TBool IsConnPermQueryTimerOn(); |
971 |
968 |
972 /** |
|
973 * Starts the offline query timer. |
|
974 * During the timer, offline query can not be initiated. |
|
975 * @since 5.2 |
|
976 */ |
|
977 void StartOfflineQueryTimer(); |
|
978 |
|
979 /** |
|
980 * Resets the offline query timer. |
|
981 * @since 5.2 |
|
982 */ |
|
983 void ResetOfflineQueryTimer(); |
|
984 |
|
985 /** |
|
986 * Returns true if the offline query timer is running. |
|
987 * During the timer, offline query can not be initiated. |
|
988 * @since 5.2 |
|
989 * @return ETrue if timer is running, EFalse otherwise. |
|
990 */ |
|
991 TBool IsOfflineQueryTimerOn(); |
|
992 |
|
993 /** |
|
994 * Starts the connection selection dialog timer. |
|
995 * During the timer, connection selection dialog can not be initiated. |
|
996 * @since 5.2 |
|
997 */ |
|
998 void StartConnSelectionDlgTimer(); |
|
999 |
|
1000 /** |
|
1001 * Resets the connection selection dialog timer. |
|
1002 * @since 5.2 |
|
1003 */ |
|
1004 void ResetConnSelectionDlgTimer(); |
|
1005 |
|
1006 /** |
|
1007 * Returns true if the connection selection dialog timer is running. |
|
1008 * During the timer, connection selection dialog can not be initiated. |
|
1009 * @since 5.2 |
|
1010 * @return ETrue if timer is running, EFalse otherwise. |
|
1011 */ |
|
1012 TBool IsConnSelectionDlgTimerOn(); |
|
1013 |
|
1014 private: |
969 private: |
1015 |
970 |
1016 /** |
971 /** |
1017 * C++ default constructor. |
972 * C++ default constructor. |
1018 */ |
973 */ |
1037 RArray<TUint32>& aAvailWlanIapIds, |
992 RArray<TUint32>& aAvailWlanIapIds, |
1038 RAvailableIAPList& aIapList, |
993 RAvailableIAPList& aIapList, |
1039 TBool aCheckForBestIap, |
994 TBool aCheckForBestIap, |
1040 TMPMBearerType aDestinationBearerType ); |
995 TMPMBearerType aDestinationBearerType ); |
1041 |
996 |
1042 /** |
|
1043 * Check if iap can be disconnected, and disconnect it |
|
1044 * @since 5.2 |
|
1045 * @param aIapId Iap id for checking |
|
1046 */ |
|
1047 void CheckIapForDisconnect( TInt aIapId ); |
|
1048 |
|
1049 |
997 |
1050 private: // Data |
998 private: // Data |
1051 // Pointer to the ConnMonEvents object |
999 // Pointer to the ConnMonEvents object |
1052 CMPMConnMonEvents* iEvents; |
1000 CMPMConnMonEvents* iEvents; |
1053 |
1001 |
1162 // TConnMonIapInfo Info about available IAPs |
1110 // TConnMonIapInfo Info about available IAPs |
1163 TConnMonIapInfo iConnMonIapInfo; |
1111 TConnMonIapInfo iConnMonIapInfo; |
1164 |
1112 |
1165 // Connection permission query cancellation delay timer |
1113 // Connection permission query cancellation delay timer |
1166 CMPMConnPermQueryTimer* iConnPermQueryTimer; |
1114 CMPMConnPermQueryTimer* iConnPermQueryTimer; |
1167 |
|
1168 // Offline query cancellation delay timer |
|
1169 CMPMOfflineQueryTimer* iOfflineQueryTimer; |
|
1170 |
|
1171 // Connection selection dialog cancellation delay timer |
|
1172 CMPMConnSelectionDlgTimer* iConnSelectionDlgTimer; |
|
1173 |
|
1174 }; |
1115 }; |
1175 |
1116 |
1176 #include "mpmserver.inl" |
1117 #include "mpmserver.inl" |
1177 |
1118 |
1178 |
1119 |