telephonyserverplugins/common_tsy/commontsy/src/mmsms/cmmsmstsy.cpp
changeset 23 6b1d113cdff3
parent 20 244d7c5f118e
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
20:244d7c5f118e 23:6b1d113cdff3
  1334         EMultimodeSmsAckStored );     
  1334         EMultimodeSmsAckStored );     
  1335     if ( reqHandle )
  1335     if ( reqHandle )
  1336         {
  1336         {
  1337         ReqCompleted( reqHandle, aError );
  1337         ReqCompleted( reqHandle, aError );
  1338         }
  1338         }
       
  1339 
       
  1340     if (aError != KErrNone)
       
  1341         {
       
  1342         // Ack error from LTSY. Need to reject receive messege request, to force the client to repost it.
       
  1343         reqHandle = iTsyReqHandleStore->ResetTsyReqHandle(EMultimodeSmsReceiveMessage);
       
  1344         if( reqHandle != 0 )
       
  1345             {
       
  1346             ReqCompleted(reqHandle,  KErrGeneral);
       
  1347             }
       
  1348         iServerRoutingActivity = ERoutingNotActivated;
       
  1349         }
  1339     }   
  1350     }   
  1340 
  1351 
  1341 //---------------------------------------------------------------------------- 
  1352 //---------------------------------------------------------------------------- 
  1342 // CMmSmsTsy::NackSmsStored 
  1353 // CMmSmsTsy::NackSmsStored 
  1343 // Route RP-Error request to messagehandler
  1354 // Route RP-Error request to messagehandler
  1470         EMultimodeSmsNackStored );
  1481         EMultimodeSmsNackStored );
  1471     if ( reqHandle )
  1482     if ( reqHandle )
  1472         {
  1483         {
  1473         ReqCompleted( reqHandle, aError );
  1484         ReqCompleted( reqHandle, aError );
  1474         }
  1485         }
       
  1486 
       
  1487     if (aError != KErrNone)
       
  1488         {
       
  1489         // Nack error from LTSY. Need to reject receive messege request, to force the client to repost it.
       
  1490         reqHandle = iTsyReqHandleStore->ResetTsyReqHandle(EMultimodeSmsReceiveMessage);
       
  1491         if( reqHandle != 0 )
       
  1492             {
       
  1493             ReqCompleted(reqHandle,  KErrGeneral);
       
  1494             }
       
  1495         iServerRoutingActivity = ERoutingNotActivated;
       
  1496         }
  1475     }
  1497     }
  1476 
  1498 
  1477 //---------------------------------------------------------------------------- 
  1499 //---------------------------------------------------------------------------- 
  1478 // CMmSmsTsy::ResumeSmsReception 
  1500 // CMmSmsTsy::ResumeSmsReception 
  1479 // Notify SMS Server, that client have again free memory for incoming SMSes
  1501 // Notify SMS Server, that client have again free memory for incoming SMSes