|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Name : TTlsTransTcpConnecting.cpp |
|
15 // Part of : ConnectionMgr |
|
16 // implementation |
|
17 // Version : SIP/5.0 |
|
18 // |
|
19 |
|
20 |
|
21 |
|
22 #include "TTlsTransTcpConnecting.h" |
|
23 #include "MTlsTransStateOwner.h" |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // TTlsTransTcpConnecting::EnterL |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 void TTlsTransTcpConnecting::EnterL() |
|
30 { |
|
31 iOwner.ConnectTcpL(); |
|
32 } |
|
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // TTlsTransTcpConnecting::ConnectionOpenL |
|
36 // ----------------------------------------------------------------------------- |
|
37 // |
|
38 TBool TTlsTransTcpConnecting::ConnectionOpenL() |
|
39 { |
|
40 iOwner.ChangeStateL( TTlsTransStateBase::ETlsConnecting ); |
|
41 |
|
42 // Deny receiving until tls handshake has been completed. |
|
43 return EFalse; |
|
44 } |
|
45 |
|
46 // ----------------------------------------------------------------------------- |
|
47 // TTlsTransTcpConnecting::TTlsTransTcpConnecting |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 TTlsTransTcpConnecting::TTlsTransTcpConnecting( |
|
51 MTlsTransStateOwner& aOwner ) : TTlsTransStateBase( aOwner ) |
|
52 { |
|
53 } |
|
54 |
|
55 // End of File |
|
56 |