telephonyserver/etelserverandcore/SETEL/ET_CORE.CPP
branchopencode
changeset 85 96b4f933d69a
parent 81 7f379d8ed02d
equal deleted inserted replaced
81:7f379d8ed02d 85:96b4f933d69a
  1054 	return NULL;
  1054 	return NULL;
  1055 	}
  1055 	}
  1056 
  1056 
  1057 CReqEntry* CPhoneBase::FindByIpcAndSecureId(const TInt aIpc, const TSecureId aSid)
  1057 CReqEntry* CPhoneBase::FindByIpcAndSecureId(const TInt aIpc, const TSecureId aSid)
  1058 //
  1058 //
  1059 //	Finds an active request by both IPC and by the TSecureId it was placed on
  1059 //	Finds an active request by both IPC and by the TSecureId
  1060 //
  1060 //
  1061 	{
  1061 	{
  1062 	CReqEntry* reqEntry;
  1062 	CReqEntry* reqEntry;
  1063 	TDblQueIter<CReqEntry> iter(iReqActiveList);
  1063 	TDblQueIter<CReqEntry> iter(iReqActiveList);
  1064 	while(reqEntry = iter++, reqEntry!=NULL)
  1064 	while(reqEntry = iter++, reqEntry!=NULL)
  1065 		{
  1065 		{		
  1066 		if(reqEntry->iFunction==aIpc && reqEntry->iMessage.SecureId()==aSid
  1066 		if(reqEntry->iFunction==aIpc && reqEntry->iMessage.SecureId()==aSid)			
  1067 			&& EFalse != reqEntry->iPlacedRequest)	
  1067 			{			
  1068 			return reqEntry;
  1068 			return reqEntry;
       
  1069 			}
  1069 		}
  1070 		}
  1070 	return NULL;
  1071 	return NULL;
  1071 	}
  1072 	}
  1072 CReqEntry* CPhoneBase::FindByIpcAndTelObjectInWaiting(const TInt aIpc, const CTelObject* aTelObject, const TUint aBufSize)
  1073 CReqEntry* CPhoneBase::FindByIpcAndTelObjectInWaiting(const TInt aIpc, const CTelObject* aTelObject, const TUint aBufSize)
  1073 //
  1074 //