linklayerprotocols/tundriver/inc/tundrivermcpr.h
branchRCL_3
changeset 63 425d8f4f7fa5
equal deleted inserted replaced
58:8d540f55e491 63:425d8f4f7fa5
       
     1 /**
       
     2 *   Copyright (c) 2010 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 *   Header file for the tun driver Mcpr configuration.
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 /**
       
    21  @file tundrivermcpr.h
       
    22  @internalTechnology
       
    23 */
       
    24 
       
    25 #ifndef TUNDRIVERMCPR_H
       
    26 #define TUNDRIVERMCPR_H
       
    27 
       
    28 #include <comms-infras/ss_mcprnodemessages.h>
       
    29 #include "agentmcpr.h"
       
    30 #include "tundrivermcprfactory.h"
       
    31 
       
    32 
       
    33 namespace TunDriverMCprStates
       
    34     {
       
    35 	class TSendProvision;
       
    36     }
       
    37 
       
    38 class CTunDriverMetaConnectionProvider : public CAgentMetaConnectionProvider
       
    39    {
       
    40     friend class TunDriverMCprStates::TSendProvision;
       
    41 public:
       
    42     typedef CTunDriverMetaConnectionProviderFactory FactoryType;
       
    43 
       
    44 	static CTunDriverMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo);
       
    45 	virtual ~CTunDriverMetaConnectionProvider();
       
    46 
       
    47 protected:
       
    48     CTunDriverMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, const ESock::TProviderInfo& aProviderInfo);
       
    49     void SetAccessPointConfigFromDbL();
       
    50 
       
    51 protected:
       
    52 	virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
       
    53 	void ConstructL();
       
    54     };
       
    55 
       
    56 #endif //TUNDRIVERMCPR_H