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