|
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 // Ethernet MCPR |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_ETHMCPR_H |
|
24 #define SYMBIAN_ETHMCPR_H |
|
25 |
|
26 #include <comms-infras/ss_mcprnodemessages.h> |
|
27 #include <comms-infras/agentmcpr.h> |
|
28 |
|
29 namespace EthMCprStates |
|
30 { |
|
31 class TSendProvision; |
|
32 DECLARE_EXPORT_ACTIVITY_MAP(stateMap) |
|
33 } |
|
34 class CEthMetaConnectionProviderFactory; |
|
35 |
|
36 class CEthMetaConnectionProvider : public CAgentMetaConnectionProvider |
|
37 /** PPP meta connection provider |
|
38 |
|
39 @internalTechnology |
|
40 @released Since 9.4 */ |
|
41 { |
|
42 friend class EthMCprStates::TSendProvision; |
|
43 |
|
44 public: |
|
45 typedef CEthMetaConnectionProviderFactory FactoryType; |
|
46 |
|
47 IMPORT_C static CEthMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); |
|
48 IMPORT_C virtual ~CEthMetaConnectionProvider(); |
|
49 |
|
50 protected: |
|
51 IMPORT_C CEthMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, |
|
52 const ESock::TProviderInfo& aProviderInfo, |
|
53 const MeshMachine::TNodeActivityMap& aActivityMap); |
|
54 |
|
55 void SetAccessPointConfigFromDbL(); |
|
56 IMPORT_C virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
57 IMPORT_C void ConstructL(); |
|
58 |
|
59 private: |
|
60 void ProvisionLinkConfigL(ESock::CCommsDatIapView* aIapView, ESock::RMetaExtensionContainer& aMec); |
|
61 void ProvisionNetworkConfigL(ESock::CCommsDatIapView* aIapView, ESock::RMetaExtensionContainer& aMec); |
|
62 void ProvisionIp4ConfigL(ESock::CCommsDatIapView* aIapView, TUint32 aOrder, ESock::RMetaExtensionContainer& aMec); |
|
63 void ProvisionIp6ConfigL(ESock::CCommsDatIapView* aIapView, TUint32 aOrder, ESock::RMetaExtensionContainer& aMec); |
|
64 }; |
|
65 |
|
66 |
|
67 |
|
68 #endif //SYMBIAN_ETHMCPR_H |