networkcontrol/ipnetworklayer/inc/nif6.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 
       
    26 #if !defined(NIF6_H_INCLUDED)
       
    27 #define NIF6_H_INCLUDED
       
    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 class CIPShimIfBase6 : public CIPShimIfBase
       
    37 	{
       
    38 /**
       
    39 Class that represents an IP6 NIF to the TCP/IP stack.  
       
    40 
       
    41 @internalComponent
       
    42 */
       
    43 public:
       
    44 	static CIPShimIfBase6* NewL(const TDesC8& aProtocolName);
       
    45 	
       
    46 	// IP4/IP6 specific required derivations
       
    47 	virtual void GetConfigFirstTime();
       
    48 
       
    49 protected:
       
    50 	CIPShimIfBase6(const TDesC8& aProtocolName);
       
    51 
       
    52 	// IP4/IP6 specific required derivations
       
    53 	virtual TInt ServiceInfoControl(TDes8& aOption, TUint aName);
       
    54 	virtual TInt ServiceConfigControl(TDes8& aOption);
       
    55 
       
    56 private:
       
    57 	TBinderConfig6	iConfig6;		// stored address information from BinderReady() upcall	
       
    58 	};
       
    59 
       
    60 #endif // NIF6_H_INCLUDED