|
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 // RawIP MCPR |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef SYMBIAN_RAWIPMCPR_H |
|
24 #define SYMBIAN_RAWIPMCPR_H |
|
25 |
|
26 #include <comms-infras/ss_mcprnodemessages.h> |
|
27 #include <comms-infras/agentmcpr.h> |
|
28 #include "rawipmcprfactory.h" |
|
29 #include <comms-infras/ss_log.h> |
|
30 |
|
31 #define KRawIPMCprTag KESockMetaConnectionTag |
|
32 _LIT8(KRawIPMCprSubTag, "rawipmcpr"); |
|
33 |
|
34 namespace RawIPMCprStates |
|
35 { |
|
36 class TCreateProvisionInfo; |
|
37 } |
|
38 |
|
39 class CRawIpAgentHandler; |
|
40 |
|
41 class CRawIpMetaConnectionProvider : public CAgentMetaConnectionProvider |
|
42 /** PPP meta connection provider |
|
43 |
|
44 @internalTechnology |
|
45 @released Since 9.4 */ |
|
46 { |
|
47 friend class RawIPMCprStates::TCreateProvisionInfo; |
|
48 public: |
|
49 typedef CRawIpMetaConnectionProviderFactory FactoryType; |
|
50 |
|
51 static CRawIpMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); |
|
52 virtual ~CRawIpMetaConnectionProvider(); |
|
53 |
|
54 protected: |
|
55 CRawIpMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo); |
|
56 void SetAccessPointConfigFromDbL(); |
|
57 |
|
58 protected: |
|
59 virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
60 void ConstructL(); |
|
61 |
|
62 private: |
|
63 CRawIpAgentHandler* iAgentHandler; |
|
64 }; |
|
65 |
|
66 #endif //SYMBIAN_RAWIPMCPR_H |