networkcontrol/ipnetworklayer/inc/IPProtoMCpr.h
changeset 0 af10295192d8
child 53 7e41d162e158
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     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 // IPProto MCPR
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef SYMBIAN_IPPROTOMCPR_H
       
    24 #define SYMBIAN_IPPROTOMCPR_H
       
    25 
       
    26 #include <comms-infras/ss_coreprstates.h>
       
    27 #include <comms-infras/coremcpr.h>
       
    28 #include <comms-infras/coremcprstates.h>
       
    29 #include "ItfInfoConfigExt.h"
       
    30 #include "IPProtoMCprFactory.h"
       
    31 
       
    32 //
       
    33 //CIPProtoMetaConnectionProvider
       
    34 namespace CommsDat
       
    35 {
       
    36 	class CMDBSession;
       
    37 }
       
    38 NONSHARABLE_CLASS(CIPProtoMetaConnectionProvider) : public CCoreMetaConnectionProvider
       
    39     {
       
    40     friend class CIPProtoMetaConnectionProviderFactory;
       
    41 
       
    42 protected:
       
    43 	//NewL only for the factory
       
    44     static CIPProtoMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory,
       
    45 	                                            const ESock::TProviderInfo& aProviderInfo);
       
    46 
       
    47     CIPProtoMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory,
       
    48                                    const ESock::TProviderInfo& aProviderInfo,
       
    49                                    const MeshMachine::TNodeActivityMap& aActivityMap);
       
    50 
       
    51 	virtual ~CIPProtoMetaConnectionProvider();
       
    52 	void ConstructL();
       
    53 	virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
       
    54 
       
    55 private:
       
    56 	void SetConfigL(); //Reads idle timers, interface info, etc from CommsDat.
       
    57 
       
    58 public:
       
    59 	TBool iIapLocked;
       
    60     };
       
    61 
       
    62 namespace IPProtoMCprActivities
       
    63 {
       
    64 	//Activity Map provided by IPProtoMCPr to be used by MCprs.
       
    65 	DECLARE_ACTIVITY_MAP(ipProtoActivitiesMCpr)
       
    66 }
       
    67 
       
    68 #endif //SYMBIAN_IPPROTOMCPR_H
       
    69 
       
    70