telephonyprotocols/rawipnif/rawipnif2/inc/IPv6Binder.h
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    24 #define IPV6BINDER_H__
    24 #define IPV6BINDER_H__
    25 
    25 
    26 #include "BinderBase.h"
    26 #include "BinderBase.h"
    27 #include <eui_addr.h>
    27 #include <eui_addr.h>
    28 
    28 
    29 class CBttLogger;
       
    30 
    29 
    31 class CIPv6Binder : public CBinderBase
    30 class CIPv6Binder : public CBinderBase
    32 {
    31 {
    33 public:
    32 public:
    34 	CIPv6Binder(CRawIP2Flow& aFlow, CBttLogger* aTheLogger);
    33 	CIPv6Binder(CRawIP2Flow& aFlow);
    35 	~CIPv6Binder();
    34 	~CIPv6Binder();
    36 
    35 
    37 public:
    36 public:
    38     // from BasebandChannelAdaptation2
    37     // from BasebandChannelAdaptation2
    39 	virtual ESock::MLowerDataSender::TSendResult Send(RCommsBufChain& aPdu);
    38 	virtual ESock::MLowerDataSender::TSendResult Send(RCommsBufChain& aPdu);
    85 
    84 
    86 #ifdef __BTT_LOGGING__
    85 #ifdef __BTT_LOGGING__
    87 	void LogPacket(const RMBufChain& aPacket);
    86 	void LogPacket(const RMBufChain& aPacket);
    88 #endif // __BTT_LOGGING__
    87 #endif // __BTT_LOGGING__
    89 
    88 
    90 private: //unowned
       
    91 	CBttLogger* iTheLogger;
       
    92 
       
    93 private: //owned
    89 private: //owned
    94 	TIPv6Settings iSettings;
    90 	TIPv6Settings iSettings;
    95 	TUint iSpeedMetric;
    91 	TUint iSpeedMetric;
    96 };
    92 };
    97 
    93