|
1 // Copyright (c) 2006-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 // QoS IP SubConnection Provider class definition. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_IPSCPR_H |
|
24 #define SYMBIAN_IPSCPR_H |
|
25 |
|
26 #include <comms-infras/ss_subconnprov.h> |
|
27 #include <comms-infras/corescpr.h> |
|
28 #include <comms-infras/corescprstates.h> |
|
29 |
|
30 #include <cs_subconevents.h> |
|
31 #include <cs_subconparams.h> |
|
32 |
|
33 #include <networking/ipaddrinfoparams.h> |
|
34 |
|
35 #include <networking/umtsextn.h> |
|
36 #include <networking/imsextn.h> |
|
37 #include <networking/sblpextn.h> |
|
38 #include <comms-infras/eintsock.h> |
|
39 |
|
40 #include "IPSCPRFactory.h" |
|
41 #include "ipdeftbasescpr.h" |
|
42 |
|
43 namespace IpSCprStates |
|
44 { |
|
45 class TAddClientToQosChannel; |
|
46 class TRemoveClientFromQoSChannel; |
|
47 #ifndef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
48 class TSendParamsToServiceProvider; |
|
49 #endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
50 class TCreateAddressInfoBundle; |
|
51 class TCreateAddressInfoBundleFromJoiningClient; |
|
52 class TNoTagOrDoNothingTag; |
|
53 class TNoTagOrSendApplyResponseOrErrorTag; |
|
54 } |
|
55 |
|
56 NONSHARABLE_CLASS(CIpSubConnectionProvider) : public CIpSubConnectionProviderBase |
|
57 /** Non-default/reserved IP subconnection provider |
|
58 |
|
59 @internalTechnology |
|
60 @released Since 9.4 */ |
|
61 { |
|
62 friend class CIpSubConnectionProviderFactory; |
|
63 friend class IpSCprStates::TAddClientToQosChannel; |
|
64 friend class IpSCprStates::TRemoveClientFromQoSChannel; |
|
65 #ifndef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
66 friend class IpSCprStates::TSendParamsToServiceProvider; |
|
67 #endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW |
|
68 friend class IpSCprStates::TCreateAddressInfoBundle; |
|
69 friend class IpSCprStates::TCreateAddressInfoBundleFromJoiningClient; |
|
70 friend class IpSCprStates::TNoTagOrDoNothingTag; |
|
71 friend class IpSCprStates::TNoTagOrSendApplyResponseOrErrorTag; |
|
72 public: |
|
73 typedef CIpSubConnectionProviderFactory FactoryType; |
|
74 virtual ~CIpSubConnectionProvider(); |
|
75 |
|
76 |
|
77 protected: |
|
78 //-==================================== |
|
79 //Construction methods bundle - accessible thru the factory only |
|
80 //-==================================== |
|
81 CIpSubConnectionProvider(ESock::CSubConnectionProviderFactoryBase& aFactory); |
|
82 static CIpSubConnectionProvider* NewL(CIpSubConnectionProviderFactory& aFactory); |
|
83 void ConstructL(); |
|
84 |
|
85 //-==================================== |
|
86 //ACFNode overrides |
|
87 //-==================================== |
|
88 virtual Messages::RNodeInterface* NewClientInterfaceL(const Messages::TClientType& aClientType, TAny* aClientInfo = NULL); |
|
89 void Received(MeshMachine::TNodeContextBase& aContext); |
|
90 void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
91 |
|
92 private: |
|
93 //-==================================== |
|
94 //Custom methods |
|
95 //-==================================== |
|
96 TInt AddressCompletionValidation(RIPDataClientNodeInterface& aDataClient); |
|
97 CSubConIPAddressInfoParamSet* InitBundleL(); |
|
98 }; |
|
99 |
|
100 |
|
101 #endif //SYMBIAN_IPSCPR_H |