engine/src/ConnectionEngine.cpp
changeset 35 66c5303f3610
parent 13 f58e3c482bd9
child 63 a8538f50e2ba
equal deleted inserted replaced
30:7bca37ba5fa9 35:66c5303f3610
    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--;