75 /** |
76 /** |
76 * Finds a connection method instance that belongs to this session and |
77 * Finds a connection method instance that belongs to this session and |
77 * matches the provided ID. Return NULL if no match is found. |
78 * matches the provided ID. Return NULL if no match is found. |
78 */ |
79 */ |
79 CCmmConnMethodInstance* FindConnMethodInstanceById( |
80 CCmmConnMethodInstance* FindConnMethodInstanceById( |
80 const TUint32& aConnMethodId ); |
81 const TUint32 aConnMethodId ); |
81 |
82 |
82 /** |
83 /** |
83 * Finds a destination instance that belongs to this session and matches |
84 * Finds a destination instance that belongs to this session and matches |
84 * the provided handle. |
85 * the provided handle. |
85 */ |
86 */ |
86 CCmmDestinationInstance* FindDestinationInstanceByHandleL( |
87 CCmmDestinationInstance* FindDestinationInstanceByHandleL( |
87 const TInt& aDestinationHandle ); |
88 const TInt aDestinationHandle ); |
88 |
89 |
89 /** |
90 /** |
90 * Finds a destination instance that belongs to this session and matches |
91 * Finds a destination instance that belongs to this session and matches |
91 * the provided ID. Return NULL if no match is found. |
92 * the provided ID. Return NULL if no match is found. |
92 */ |
93 */ |
93 CCmmDestinationInstance* FindDestinationInstanceById( |
94 CCmmDestinationInstance* FindDestinationInstanceById( |
94 const TUint32& aDestinationId ); |
95 const TUint32 aDestinationId ); |
95 |
96 |
96 /** |
97 /** |
97 * Check from all open destination handles in this session if the given |
98 * Check from all open destination handles in this session if the given |
98 * connection method is inside any of them. The given destination is |
99 * connection method is inside any of them. The given destination is |
99 * skipped. |
100 * skipped. |
100 */ |
101 */ |
101 TBool ConnMethodInOtherDestination( |
102 TBool ConnMethodInOtherDestination( |
102 const TUint32& aConnMethodId, |
103 const TUint32 aConnMethodId, |
103 const TUint32& aDestinationId ); |
104 const TUint32 aDestinationId ); |
104 |
105 |
105 /** |
106 /** |
106 * Check for restrictions for adding an embedded destination from destination |
107 * Check for restrictions for adding an embedded destination from destination |
107 * instances of all clients. |
108 * instances of all clients. |
108 * @param aDestinationId The ID of the destination where a destination is |
109 * @param aDestinationId The ID of the destination where a destination is |
109 * beeing embedded. |
110 * beeing embedded. |
110 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
111 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
111 * embedded. |
112 * embedded. |
112 */ |
113 */ |
113 TBool EmbeddedDestinationConflictsFromAllSessions( |
114 TBool EmbeddedDestinationConflictsFromAllSessions( |
114 const TUint32& aDestinationId, |
115 const TUint32 aDestinationId, |
115 const TUint32& aEmbeddedDestinationId ); |
116 const TUint32 aEmbeddedDestinationId ); |
116 |
117 |
117 /** |
118 /** |
118 * Check for restrictions for adding an embedded destination from destination |
119 * Check for restrictions for adding an embedded destination from destination |
119 * instances of this session. |
120 * instances of this session. |
120 * @param aDestinationId The ID of the destination where a destination is |
121 * @param aDestinationId The ID of the destination where a destination is |
121 * beeing embedded. |
122 * beeing embedded. |
122 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
123 * @param aEmbeddedDestinationId The ID of the destination that is beeing |
123 * embedded. |
124 * embedded. |
124 */ |
125 */ |
125 TBool EmbeddedDestinationConflicts( |
126 TBool EmbeddedDestinationConflicts( |
126 const TUint32& aDestinationId, |
127 const TUint32 aDestinationId, |
127 const TUint32& aEmbeddedDestinationId ); |
128 const TUint32 aEmbeddedDestinationId ); |
128 |
129 |
129 /** |
130 /** |
130 * After update to database, refresh temporary ID to real ID if necessary |
131 * After update to database, refresh temporary ID to real ID if necessary |
131 * and refresh status information for any related handles for all client |
132 * and refresh status information for any related handles for all client |
132 * sessions. |
133 * sessions. |
182 void GetConnMethodInfoString8L( const RMessage2& aMessage ); |
183 void GetConnMethodInfoString8L( const RMessage2& aMessage ); |
183 void GetConnMethodArrayL( const RMessage2& aMessage ); |
184 void GetConnMethodArrayL( const RMessage2& aMessage ); |
184 void GetAllDestinationsL( const RMessage2& aMessage ); |
185 void GetAllDestinationsL( const RMessage2& aMessage ); |
185 void GetEasyWLANIdL( const RMessage2& aMessage ); |
186 void GetEasyWLANIdL( const RMessage2& aMessage ); |
186 void GetSupportedBearersL( const RMessage2& aMessage ); |
187 void GetSupportedBearersL( const RMessage2& aMessage ); |
|
188 void GetUncategorizedIconL( const RMessage2& aMessage ); |
187 void ReadDefaultConnectionL( const RMessage2& aMessage ); |
189 void ReadDefaultConnectionL( const RMessage2& aMessage ); |
188 void ReadGenConnSettingsL( const RMessage2& aMessage ); |
190 void ReadGenConnSettingsL( const RMessage2& aMessage ); |
189 void WriteGenConnSettingsL( const RMessage2& aMessage ); |
191 void WriteGenConnSettingsL( const RMessage2& aMessage ); |
190 void GetBearerPriorityArrayL( const RMessage2& aMessage ); |
192 void GetBearerPriorityArrayL( const RMessage2& aMessage ); |
191 void UpdateBearerPriorityArrayL( const RMessage2& aMessage ); |
193 void UpdateBearerPriorityArrayL( const RMessage2& aMessage ); |
192 void CopyConnMethodL( const RMessage2& aMessage ); |
194 void CopyConnMethodL( const RMessage2& aMessage ); |
193 void MoveConnMethodL( const RMessage2& aMessage ); |
195 void MoveConnMethodL( const RMessage2& aMessage ); |
194 void RemoveConnMethodL( const RMessage2& aMessage ); |
196 void RemoveConnMethodL( const RMessage2& aMessage ); |
195 |
|
196 void RemoveAllReferencesL( const RMessage2& aMessage ); |
197 void RemoveAllReferencesL( const RMessage2& aMessage ); |
197 |
198 |
198 void GetDestinationL( const RMessage2& aMessage ); |
199 void GetDestinationL( const RMessage2& aMessage ); |
199 void RefreshDestinationL( const RMessage2& aMessage ); |
200 void RefreshDestinationL( const RMessage2& aMessage ); |
200 void CreateDestinationWithNameL( const RMessage2& aMessage ); |
201 void CreateDestinationWithNameL( const RMessage2& aMessage ); |
208 void GetDestinationMetadataL( const RMessage2& aMessage ); |
209 void GetDestinationMetadataL( const RMessage2& aMessage ); |
209 void GetDestinationProtectionLevelL( const RMessage2& aMessage ); |
210 void GetDestinationProtectionLevelL( const RMessage2& aMessage ); |
210 void IsDestinationConnectedL( const RMessage2& aMessage ); |
211 void IsDestinationConnectedL( const RMessage2& aMessage ); |
211 void IsDestinationHiddenL( const RMessage2& aMessage ); |
212 void IsDestinationHiddenL( const RMessage2& aMessage ); |
212 void DestinationIsEqualL( const RMessage2& aMessage ); |
213 void DestinationIsEqualL( const RMessage2& aMessage ); |
|
214 void GetDestinationIconL( const RMessage2& aMessage ); |
213 |
215 |
214 void DestAddConnMethodL( const RMessage2& aMessage ); |
216 void DestAddConnMethodL( const RMessage2& aMessage ); |
215 void DestAddEmbeddedDestinationL( const RMessage2& aMessage ); |
217 void DestAddEmbeddedDestinationL( const RMessage2& aMessage ); |
216 void DestDeleteConnMethodL( const RMessage2& aMessage ); |
218 void DestDeleteConnMethodL( const RMessage2& aMessage ); |
217 void DestRemoveConnMethodL( const RMessage2& aMessage ); |
219 void DestRemoveConnMethodL( const RMessage2& aMessage ); |
221 void SetDestinationMetadataL( const RMessage2& aMessage ); |
223 void SetDestinationMetadataL( const RMessage2& aMessage ); |
222 void SetDestinationProtectionL( const RMessage2& aMessage ); |
224 void SetDestinationProtectionL( const RMessage2& aMessage ); |
223 void SetDestinationHiddenL( const RMessage2& aMessage ); |
225 void SetDestinationHiddenL( const RMessage2& aMessage ); |
224 void UpdateDestinationL( const RMessage2& aMessage ); |
226 void UpdateDestinationL( const RMessage2& aMessage ); |
225 void DeleteDestinationL( const RMessage2& aMessage ); |
227 void DeleteDestinationL( const RMessage2& aMessage ); |
|
228 void SetDestinationIconL( const RMessage2& aMessage ); |
226 |
229 |
227 void CreateConnMethodL( const RMessage2& aMessage ); |
230 void CreateConnMethodL( const RMessage2& aMessage ); |
228 void UpdateConnMethodL( const RMessage2& aMessage ); |
231 void UpdateConnMethodL( const RMessage2& aMessage ); |
229 void CloseConnMethod( const RMessage2& aMessage ); |
232 void CloseConnMethod( const RMessage2& aMessage ); |
230 void DeleteConnMethodL( const RMessage2& aMessage ); |
233 void DeleteConnMethodL( const RMessage2& aMessage ); |
245 void CreateConnMethodToDestWithIdL( const RMessage2& aMessage ); |
248 void CreateConnMethodToDestWithIdL( const RMessage2& aMessage ); |
246 void CmIsEqualL( const RMessage2& aMessage ); |
249 void CmIsEqualL( const RMessage2& aMessage ); |
247 void CreateCopyOfExistingL( const RMessage2& aMessage ); |
250 void CreateCopyOfExistingL( const RMessage2& aMessage ); |
248 void GetEmbeddedDestinationL( const RMessage2& aMessage ); |
251 void GetEmbeddedDestinationL( const RMessage2& aMessage ); |
249 |
252 |
|
253 /** |
|
254 * Check if CM is protected and if so then check the needed capabilities. |
|
255 */ |
|
256 void CheckCapabilitiesForProtectedCML( |
|
257 const RMessage2& aMessage, |
|
258 CCmmConnMethodInstance* aConnectionMethod ); |
|
259 |
|
260 /** |
|
261 * Checks the disk space. |
|
262 */ |
|
263 TBool CheckSpaceBelowCriticalLevelL(); |
|
264 |
250 private: |
265 private: |
251 RMessage2 iMessage; |
266 RMessage2 iMessage; |
252 |
267 |
253 CCmmServer& iServer; |
268 CCmmServer& iServer; |
254 |
269 |