datacommsserver/esockserver/ssock/ss_connstates.cpp
branchRCL_3
changeset 9 77effd21b2c9
parent 4 928ed51ddc43
child 13 98a7181d2ce7
equal deleted inserted replaced
5:68ef71f0cd72 9:77effd21b2c9
   667 	//Check whether KDataTransferUnblocked is received and if yes, then traslate it to KConnectionUp (== KLinkLayerOpen)
   667 	//Check whether KDataTransferUnblocked is received and if yes, then traslate it to KConnectionUp (== KLinkLayerOpen)
   668 	// the log only sees the translated version, this goes into the queue, so it alright I suppose.
   668 	// the log only sees the translated version, this goes into the queue, so it alright I suppose.
   669 	if (progress.iStage == KDataTransferUnblocked )
   669 	if (progress.iStage == KDataTransferUnblocked )
   670 		{
   670 		{
   671 		progress.iStage = KConnectionUp;	// KLinkLayerOpen
   671 		progress.iStage = KConnectionUp;	// KLinkLayerOpen
       
   672 		}
       
   673 	if (progress.iError == KErrForceDisconnected)
       
   674 		{
       
   675 		progress.iError = KErrDisconnected;
   672 		}
   676 		}
   673 
   677 
   674 	LOG( ESockLog::Printf(KESockConnectionTag, _L("CConnection %08x:\tProgressNotification(TInt aStage %d, TInt aError %d)"),
   678 	LOG( ESockLog::Printf(KESockConnectionTag, _L("CConnection %08x:\tProgressNotification(TInt aStage %d, TInt aError %d)"),
   675 		&(iContext.Node()), progress.iStage, progress.iError) );
   679 		&(iContext.Node()), progress.iStage, progress.iError) );
   676 
   680