void RunL() { qDebug() << "CNWTrackingPsy::RunL " << iPsyName << " iStatus=" << iStatus.Int(); if (iRealRequest) { qDebug() << "CNWTrackingPsy::RunL SENDING POS and START TIMER" << iPsyName; //A real request has completed, the next should be timer iRealRequest = EFalse; HandlePositionCallback(iStatus); TInt64 requestIntr64 = (iUpdInterval.Int64() > iTimeout.Int64()) ? iUpdInterval.Int64() - iTimeout.Int64() : iUpdInterval.Int64() ; TInt requestIntr = (requestIntr64 < MAX_TIMER) ? requestIntr64 : MAX_TIMER; if (requestIntr < THIRTY_SECONDS) requestIntr = THIRTY_SECONDS; //No point in retrying NW based PSYs within 30 seconds iTimer.After(iStatus, requestIntr); SetActive(); } else { qDebug() << "CNWTrackingPsy::RunL REAL REQUEST" << iPsyName; iRealRequest = ETrue; RequestPositionAgain(); } }
void CSingleShotPsy::RunL() { qDebug() << "CSingleShotPsy::RunL " << iPsyName << " iStatus=" << iStatus.Int(); HandlePositionCallback(iStatus); CancelPositionRequest(); }
void CTrackingPsy::RunL() { //qDebug() << "CTrackingPsy::RunL " <<iPsyName <<" iStatus="<<iStatus.Int(); HandlePositionCallback(iStatus); RequestPositionAgain(); }