equal
deleted
inserted
replaced
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, ¶ms); |
335 iSingletons.DpController().NotifyDataProvidersL(EMTPSessionOpened, ¶ms); |
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 |