diff -r 000000000000 -r af10295192d8 linklayerprotocols/pppnif/INC/pppmcpr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linklayerprotocols/pppnif/INC/pppmcpr.h Tue Jan 26 15:23:49 2010 +0200 @@ -0,0 +1,82 @@ +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// PPP MCPR +// +// + +/** + @file + @internalComponent +*/ + +#ifndef SYMBIAN_PPPMCPR_H +#define SYMBIAN_PPPMCPR_H + +#include +#include +#include +#include "pppmcprfactory.h" + +class CCsdAvailabilityListener; + +/** +@internalTechnology +@released Since 9.4 + +PPP meta connection provider +*/ +class CPppAgentNotificationHandler; +NONSHARABLE_CLASS(CPppMetaConnectionProvider) : public CAgentMetaConnectionProvider + { +public: + typedef CPppMetaConnectionProviderFactory FactoryType; + + static CPppMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory, + const ESock::TProviderInfo& aProviderInfo); + virtual ~CPppMetaConnectionProvider(); + +protected: + CPppMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory, + const ESock::TProviderInfo& aProviderInfo, + const MeshMachine::TNodeActivityMap& aActivityMap); + void SetAccessPointConfigFromDbL(); + +protected: + virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage); + static void CleanupCloseIapView(TAny* aThis); + void ConstructL(); + void StartAvailabilityMonitoringL(const Messages::TNodeCtxId& aAvailabilityActivity); + void CancelAvailabilityMonitoring(); + +private: + CPppAgentNotificationHandler* iAgentHandler; + CCsdAvailabilityListener* iAvailabilityListener; + }; + + + +NONSHARABLE_CLASS(CPppAgentNotificationHandler) : public CAgentNotificationHandler + { +public: + static CPppAgentNotificationHandler* NewL(); + + virtual void ConnectCompleteL (); + +protected: + CPppAgentNotificationHandler(); + }; + + + +#endif //SYMBIAN_PPPMCPR_H