equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 // Inline implementations for: Parameter set base class for applying subconnection protocol attributes |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 |
|
24 #if !defined(__SS_PROTOCOLPARAMETERSET_INL__) |
|
25 #define __SS_PROTOCOLPARAMETERSET_INL__ |
|
26 |
|
27 namespace ESock |
|
28 { |
|
29 |
|
30 CFlowRequestParameters::CFlowRequestParameters() |
|
31 { |
|
32 } |
|
33 |
|
34 void CFlowRequestParameters::SetFlowParams(ESock::TFlowParams& aFlowParams) |
|
35 { |
|
36 iFlowParams = aFlowParams; |
|
37 } |
|
38 |
|
39 ESock::TFlowParams& CFlowRequestParameters::GetFlowParams() |
|
40 { |
|
41 return iFlowParams; |
|
42 } |
|
43 |
|
44 TUid CFlowRequestParameters::GetProtocolUid() const |
|
45 { |
|
46 switch (iFlowParams.iProtocol) |
|
47 { |
|
48 default: |
|
49 return TUid::Null(); |
|
50 break; |
|
51 } |
|
52 } |
|
53 } |
|
54 |
|
55 #endif // __SS_PROTOCOLPARAMETERSET_INL__ |
|
56 |