mtpfws/mtpfw/src/cmtpconnection.cpp
branchRCL_3
changeset 19 ef55b168cedb
parent 14 60a94a45d437
child 40 453dfc402455
equal deleted inserted replaced
16:3673b591050c 19:ef55b168cedb
   327     CleanupStack::Pop(session); 
   327     CleanupStack::Pop(session); 
   328     
   328     
   329     if (aMTPId != KMTPSessionNone)
   329     if (aMTPId != KMTPSessionNone)
   330         {
   330         {
   331         // Notify the data providers if other than the null session is closing.
   331         // Notify the data providers if other than the null session is closing.
       
   332         // OpenSession Command coming and now it is really connected to host.
       
   333         PublishConnState(EConnectedToHost);
   332         TMTPNotificationParamsSessionChange params = {aMTPId, *this};
   334         TMTPNotificationParamsSessionChange params = {aMTPId, *this};
   333         iSingletons.DpController().NotifyDataProvidersL(EMTPSessionOpened, &params);
   335         iSingletons.DpController().NotifyDataProvidersL(EMTPSessionOpened, &params);
   334         }
   336         }
   335     __FLOG(_L8("SessionOpenedL - Exit"));
   337     __FLOG(_L8("SessionOpenedL - Exit"));
   336     }
   338     }
   404         SessionOpenedL(KMTPSessionNone);            
   406         SessionOpenedL(KMTPSessionNone);            
   405         
   407         
   406         iTransportConnection = &aTransportConnection;
   408         iTransportConnection = &aTransportConnection;
   407         iTransportConnection->BindL(*this); 
   409         iTransportConnection->BindL(*this); 
   408         SetState(EStateOpen); 
   410         SetState(EStateOpen); 
   409         PublishConnState(EConnectedToHost); 
   411          
   410         }
   412         }
   411     
   413     
   412     __FLOG(_L8("ConnectionResumed - Exit"));
   414     __FLOG(_L8("ConnectionResumed - Exit"));
   413     }
   415     }
   414 
   416