networkcontrol/ipnetworklayer/inc/nif4.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 /**
       
     2 * Copyright (c) 2005-2009 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 * CNifIfBase and CProtocolBase shim layer functionality
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file nif.cpp
       
    24 */
       
    25 #if !defined(NIF4_H_INCLUDED)
       
    26 #define NIF4_H_INCLUDED
       
    27 
       
    28 #include <e32base.h>
       
    29 #include <comms-infras/ss_protflow.h>
       
    30 #include "nif.h"
       
    31 #include <comms-infras/nifif.h>
       
    32 #include <comms-infras/es_protbinder.h>
       
    33 
       
    34 class CIPShimIncoming;
       
    35 class CIPShimSubConnectionFlow;
       
    36 
       
    37 class CIPShimIfBase4 : public CIPShimIfBase
       
    38 	{
       
    39 /**
       
    40 Class that represents an IP4 NIF to the TCP/IP stack.  
       
    41 
       
    42 @internalComponent
       
    43 */
       
    44 public:
       
    45 	static CIPShimIfBase4* NewL(const TDesC8& aProtocolName);
       
    46 	
       
    47 	// IP4/IP6 specific required derivations
       
    48 	virtual void GetConfigFirstTime();
       
    49 
       
    50 protected:
       
    51 	CIPShimIfBase4(const TDesC8& aProtocolName);
       
    52 
       
    53 	// IP4/IP6 specific required derivations
       
    54 	virtual TInt ServiceInfoControl(TDes8& aOption, TUint aName);
       
    55 	virtual TInt ServiceConfigControl(TDes8& aOption);
       
    56 
       
    57 private:
       
    58 	TBinderConfig4	iConfig4;		// stored address information from BinderReady() upcall
       
    59 	};
       
    60 #endif // NIF4_H_INCLUDED