equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2009 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; |
29 |
30 |
30 class CIPv6Binder : public CBinderBase |
31 class CIPv6Binder : public CBinderBase |
31 { |
32 { |
32 public: |
33 public: |
33 CIPv6Binder(CRawIP2Flow& aFlow); |
34 CIPv6Binder(CRawIP2Flow& aFlow, CBttLogger* aTheLogger); |
34 ~CIPv6Binder(); |
35 ~CIPv6Binder(); |
35 |
36 |
36 public: |
37 public: |
37 // from BasebandChannelAdaptation2 |
38 // from BasebandChannelAdaptation2 |
38 virtual ESock::MLowerDataSender::TSendResult Send(RCommsBufChain& aPdu); |
39 virtual ESock::MLowerDataSender::TSendResult Send(RCommsBufChain& aPdu); |
84 |
85 |
85 #ifdef __BTT_LOGGING__ |
86 #ifdef __BTT_LOGGING__ |
86 void LogPacket(const RMBufChain& aPacket); |
87 void LogPacket(const RMBufChain& aPacket); |
87 #endif // __BTT_LOGGING__ |
88 #endif // __BTT_LOGGING__ |
88 |
89 |
|
90 private: //unowned |
|
91 CBttLogger* iTheLogger; |
|
92 |
89 private: //owned |
93 private: //owned |
90 TIPv6Settings iSettings; |
94 TIPv6Settings iSettings; |
91 TUint iSpeedMetric; |
95 TUint iSpeedMetric; |
92 }; |
96 }; |
93 |
97 |