networkcontrol/ipnetworklayer/inc/nif4.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 15:23:49 +0200
changeset 0 af10295192d8
permissions -rw-r--r--
Revision: 201004

/**
* Copyright (c) 2005-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:
* CNifIfBase and CProtocolBase shim layer functionality
* 
*
*/



/**
 @file nif.cpp
*/
#if !defined(NIF4_H_INCLUDED)
#define NIF4_H_INCLUDED

#include <e32base.h>
#include <comms-infras/ss_protflow.h>
#include "nif.h"
#include <comms-infras/nifif.h>
#include <comms-infras/es_protbinder.h>

class CIPShimIncoming;
class CIPShimSubConnectionFlow;

class CIPShimIfBase4 : public CIPShimIfBase
	{
/**
Class that represents an IP4 NIF to the TCP/IP stack.  

@internalComponent
*/
public:
	static CIPShimIfBase4* NewL(const TDesC8& aProtocolName);
	
	// IP4/IP6 specific required derivations
	virtual void GetConfigFirstTime();

protected:
	CIPShimIfBase4(const TDesC8& aProtocolName);

	// IP4/IP6 specific required derivations
	virtual TInt ServiceInfoControl(TDes8& aOption, TUint aName);
	virtual TInt ServiceConfigControl(TDes8& aOption);

private:
	TBinderConfig4	iConfig4;		// stored address information from BinderReady() upcall
	};
#endif // NIF4_H_INCLUDED