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". |
28 #include <comms-infras/linkprovision.h> |
28 #include <comms-infras/linkprovision.h> |
29 #include "Constants.h" |
29 #include "Constants.h" |
30 #include <comms-infras/es_protbinder.h> |
30 #include <comms-infras/es_protbinder.h> |
31 |
31 |
32 class CRawIPFlow; |
32 class CRawIPFlow; |
|
33 class CBttLogger; |
33 class CRawIpProvision; |
34 class CRawIpProvision; |
34 class CRawIPFlow; |
35 class CRawIPFlow; |
35 |
36 |
36 class CBinderBase : public CBase, public ESock::MLowerDataSender, public ESock::MLowerControl |
37 class CBinderBase : public CBase, public ESock::MLowerDataSender, public ESock::MLowerControl |
37 { |
38 { |
38 public: |
39 public: |
39 friend class CRawIPFlow; |
40 friend class CRawIPFlow; |
40 CBinderBase(CRawIPFlow& aFlow); |
41 CBinderBase(CRawIPFlow& aFlow, CBttLogger* aTheLogger); |
41 virtual ~CBinderBase(); |
42 virtual ~CBinderBase(); |
42 |
43 |
43 public: |
44 public: |
44 // from ESock::MLowerControl |
45 // from ESock::MLowerControl |
45 virtual TInt BlockFlow(ESock::MLowerControl::TBlockOption aOption); |
46 virtual TInt BlockFlow(ESock::MLowerControl::TBlockOption aOption); |
68 protected: |
69 protected: |
69 CRawIPFlow* iFlow; |
70 CRawIPFlow* iFlow; |
70 ESock::MUpperControl* iUpperControl; |
71 ESock::MUpperControl* iUpperControl; |
71 ESock::MUpperDataReceiver* iUpperReceiver; |
72 ESock::MUpperDataReceiver* iUpperReceiver; |
72 |
73 |
|
74 CBttLogger* iTheLogger; |
73 }; |
75 }; |
74 |
76 |
75 |
77 |
76 CRawIPFlow& CBinderBase::GetFlow() |
78 CRawIPFlow& CBinderBase::GetFlow() |
77 /** |
79 /** |