engine/src/ConnectionEngine.cpp
changeset 66 41d00e97e2f7
parent 63 a8538f50e2ba
child 114 f94dbd678dda
equal deleted inserted replaced
65:523e04129df6 66:41d00e97e2f7
    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--;