|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef __LEGACY_LOOPBACK_MCPR_H__ |
|
18 #define __LEGACY_LOOPBACK_MCPR_H__ |
|
19 |
|
20 #ifdef SYMBIAN_OLD_EXPORT_LOCATION |
|
21 #include <ss_mcprnodemessages.h> |
|
22 #include "agentmcpr.h" |
|
23 #else |
|
24 #include <comms-infras/ss_mcprnodemessages.h> |
|
25 #include <comms-infras/agentmcpr.h> |
|
26 #endif |
|
27 |
|
28 |
|
29 #include "mcpr_factory.h" |
|
30 |
|
31 namespace LegacyLoopbackMCprStates |
|
32 { |
|
33 class TSendProvision; |
|
34 } |
|
35 |
|
36 class CLegacyLoopbackProvision; |
|
37 class CLegacyLoopbackProtoAgentHandler; |
|
38 |
|
39 class CLegacyLoopbackMetaConnectionProvider : public CAgentMetaConnectionProvider |
|
40 /** PPP meta connection provider |
|
41 |
|
42 @internalTechnology |
|
43 @released Since 9.4 */ |
|
44 { |
|
45 friend class LegacyLoopbackMCprStates::TSendProvision; |
|
46 public: |
|
47 typedef CLegacyLoopbackMetaConnectionProvider FactoryType; |
|
48 |
|
49 static CLegacyLoopbackMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); |
|
50 virtual ~CLegacyLoopbackMetaConnectionProvider(); |
|
51 |
|
52 protected: |
|
53 CLegacyLoopbackMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); |
|
54 void SetAccessPointConfigFromDbL(); |
|
55 |
|
56 protected: |
|
57 virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
58 void ConstructL(); |
|
59 |
|
60 private: |
|
61 TIp6Addr PresetIP6Addr(ESock::CCommsDatIapView* aReader, CommsDat::TMDBElementId aElementId); // Duplicated?? |
|
62 |
|
63 private: |
|
64 CLegacyLoopbackProtoAgentHandler* iAgentHandler; |
|
65 }; |
|
66 |
|
67 #endif // __LEGACY_LOOPBACK_MCPR_H__ |