204 void resultsAvailable(QByteArray* parsedData,SmfError error); |
204 void resultsAvailable(QByteArray* parsedData,SmfError error); |
205 /** |
205 /** |
206 * Called by the SmfServer when client authorization finishes. |
206 * Called by the SmfServer when client authorization finishes. |
207 * @param success success of the authorization |
207 * @param success success of the authorization |
208 */ |
208 */ |
209 void clientAuthorizationFinished(bool success); |
209 void clientathorizationFinished(bool success); |
210 protected: |
210 protected: |
211 //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage); |
211 //TMessageParams ReadMessageAndRetrieveParams (const RMessage2 & aMessage); |
212 void PanicClient(const RMessage2 & aMessage, TInt aPanic) const; |
212 void PanicClient(const RMessage2 & aMessage, TInt aPanic) const; |
213 /** |
213 /** |
214 * Called by ServiceL() |
214 * Called by ServiceL() |
226 /** |
226 /** |
227 * Handles all the opcodes except ESmfGetService |
227 * Handles all the opcodes except ESmfGetService |
228 */ |
228 */ |
229 void HandleCommonServiceL(const RMessage2 & aMessage); |
229 void HandleCommonServiceL(const RMessage2 & aMessage); |
230 |
230 |
|
231 /** |
|
232 * Handles all DSM related messages |
|
233 */ |
|
234 void HandleDSMServiceL(const RMessage2 & aMessage); |
|
235 |
231 |
236 |
232 //private: |
237 //private: |
233 SmfServerSymbian* iServer; |
238 SmfServerSymbian* iServer; |
234 RMessage2 iMessage; |
239 RMessage2 iMessage; |
235 |
240 TBuf<100> iErrBuf; |
236 //this interface id will be provided by Smf client, will map Smf Client |
241 //this interface id will be provided by Smf client, will map Smf Client |
237 // interface hierarchy |
242 // interface hierarchy |
238 SmfInterfaceID iInterfaceID; |
243 SmfInterfaceID iInterfaceID; |
239 TPtr8 iIntfNmaeSymbian; |
244 TPtr8 iIntfNmaeSymbian; |
240 TPtr iIntfNameSymbian16; |
245 TPtr iIntfNameSymbian16; |
241 TBuf8<125> iInterfaceNametbuf; |
246 TBuf8<125> iInterfaceNametbuf; |
242 TPtr8 iProviderSymbian; |
247 TPtr8 iProviderSymbian; |
|
248 TPtr8 iXtraDataPtr; |
|
249 HBufC8* iDataForDSM; |
|
250 TPtr8 iPtrDataForDSM; |
|
251 HBufC8* iDataFromDSM; |
|
252 TPtr8 iPtrDataFromDSM; |
|
253 TBuf<100> iDSMErr; |
|
254 TBuf<100> iMaxSize; |
243 HBufC8* iProviderBuf; |
255 HBufC8* iProviderBuf; |
|
256 HBufC8* iXtraDataBuf; |
244 HBufC8* iIntfNameBuf; |
257 HBufC8* iIntfNameBuf; |
245 QMap<SmfPluginID,SmfProvider> iPluginIDMap; |
258 QMap<SmfPluginID,SmfProvider> iPluginIDMap; |
246 QList<SmfPluginID> iPluginIDList; |
259 QList<SmfPluginID> iPluginIDList; |
247 QList<SmfPluginID> iAuthList; |
260 QList<SmfPluginID> iAuthList; |
248 |
261 |