428 */ |
428 */ |
429 { |
429 { |
430 iConnectionPrefsProvider.GetSecurityPrefs(aDialogPrompt, aSecurityPolicy); |
430 iConnectionPrefsProvider.GetSecurityPrefs(aDialogPrompt, aSecurityPolicy); |
431 } |
431 } |
432 |
432 |
433 void CTcpTransportLayer::SecurityPreferences(MSecurityPolicy*& aSecurityPolicy, TInt& aDialogPref) |
433 TBool CTcpTransportLayer::OwnsConnection() |
434 /** |
434 /** |
435 @see MCommsInfoProvider |
435 @see MCommsInfoProvider |
436 */ |
436 */ |
437 { |
437 { |
438 iConnectionPrefsProvider.GetSecurityPrefs(aSecurityPolicy, aDialogPref); |
438 return iOwnsConnection; |
439 } |
439 } |
440 |
440 |
441 TBool CTcpTransportLayer::OwnsConnection() |
441 |
|
442 TInt CTcpTransportLayer::SessionId() |
442 /** |
443 /** |
443 @see MCommsInfoProvider |
444 @see MCommsInfoProvider |
444 */ |
445 */ |
445 { |
446 { |
446 return iOwnsConnection; |
|
447 } |
|
448 |
|
449 |
|
450 TInt CTcpTransportLayer::SessionId() |
|
451 /** |
|
452 @see MCommsInfoProvider |
|
453 */ |
|
454 { |
|
455 return iConnectionPrefsProvider.SessionId(); |
447 return iConnectionPrefsProvider.SessionId(); |
456 } |
448 } |
457 |
|
458 TInt CTcpTransportLayer::GetSocketImmediateCloseTimeout() |
|
459 /** |
|
460 @see MCommsInfoProvider |
|
461 */ |
|
462 { |
|
463 return iConnectionPrefsProvider.GetSocketImmediateCloseTimeout(); |
|
464 } |
|
465 |
449 |
466 void CTcpTransportLayer::StartDefaultCommsConnectionL () |
450 void CTcpTransportLayer::StartDefaultCommsConnectionL () |
467 { |
451 { |
468 // See client has one RConnection started |
452 // See client has one RConnection started |
469 if ( iConnectionPrefsProvider.SupplyCommsConnection ( iConnection ) ) |
453 if ( iConnectionPrefsProvider.SupplyCommsConnection ( iConnection ) ) |