engine/src/ConnectionEngine.cpp
changeset 60 4d230e702aa3
parent 59 9569ea080d5a
child 65 bcd88ba95046
equal deleted inserted replaced
59:9569ea080d5a 60:4d230e702aa3
    62 		iMobility = NULL;
    62 		iMobility = NULL;
    63 		iMobility = CActiveCommsMobilityApiExt::NewL( iConnection, *this );
    63 		iMobility = CActiveCommsMobilityApiExt::NewL( iConnection, *this );
    64 		}
    64 		}
    65 	
    65 	
    66 	iConnectionState = iStatus.Int() == KErrNone?CConnectionEngine::EConnected:CConnectionEngine::ENotConnected;
    66 	iConnectionState = iStatus.Int() == KErrNone?CConnectionEngine::EConnected:CConnectionEngine::ENotConnected;
    67 	ReportConnection( iStatus.Int() );
    67 	ReportConnectionL( iStatus.Int() );
    68 	}
    68 	}
    69 
    69 
    70 void CConnectionEngine::DoCancel()
    70 void CConnectionEngine::DoCancel()
    71 	{
    71 	{
    72 	}
    72 	}
   270 	{
   270 	{
   271 	return iSocketServer;
   271 	return iSocketServer;
   272 	}
   272 	}
   273 
   273 
   274 
   274 
   275 void CConnectionEngine::ReportConnection(TInt aError)
   275 void CConnectionEngine::ReportConnectionL(TInt aError)
   276 	{
   276 	{
   277 	TInt noObservers = iObserverArray.Count();
   277 	TInt noObservers = iObserverArray.Count();
   278 	while(noObservers)
   278 	while(noObservers)
   279 		{
   279 		{
   280 		noObservers--;
   280 		noObservers--;