equal
deleted
inserted
replaced
|
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 // IPTIERMANAGER_H.H |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 @prototype |
|
22 */ |
|
23 |
|
24 #ifndef SYMBIAN_IP_TIER_MANAGER_H |
|
25 #define SYMBIAN_IP_TIER_MANAGER_H |
|
26 |
|
27 #define SYMBIAN_NETWORKING_UPS |
|
28 |
|
29 #include <comms-infras/coretiermanager.h> |
|
30 |
|
31 #ifdef SYMBIAN_NETWORKING_UPS |
|
32 namespace NetUps |
|
33 { |
|
34 class CNetUps; |
|
35 } |
|
36 #endif |
|
37 |
|
38 NONSHARABLE_CLASS(CIpTierManager) : public CCoreTierManager |
|
39 { |
|
40 public: |
|
41 static CIpTierManager* NewL(ESock::CTierManagerFactoryBase& aFactory); |
|
42 ~CIpTierManager(); |
|
43 |
|
44 protected: |
|
45 CIpTierManager(ESock::CTierManagerFactoryBase& aFactory, const MeshMachine::TNodeActivityMap& aActivityMap); |
|
46 virtual ESock::MProviderSelector* DoCreateProviderSelectorL(const Meta::SMetaData& aSelectionPreferences); |
|
47 virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); |
|
48 |
|
49 #ifdef SYMBIAN_NETWORKING_UPS |
|
50 private: |
|
51 void OpenNetUpsL(); |
|
52 void CloseNetUps(); |
|
53 |
|
54 private: |
|
55 NetUps::CNetUps* iNetUps; // Very first reference to NetUps |
|
56 #endif |
|
57 }; |
|
58 |
|
59 #endif //SYMBIAN_IP_TIER_MANAGER_H |
|
60 |