telephonyprotocols/rawipnif/rawipnif2/inc/BinderBase.h
branchRCL_3
changeset 20 07a122eea281
parent 19 630d2f34d719
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
     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".
    30 #include "Constants.h"
    30 #include "Constants.h"
    31 #include <comms-infras/es_protbinder.h>
    31 #include <comms-infras/es_protbinder.h>
    32 #include <networking/bca2.h>
    32 #include <networking/bca2.h>
    33 
    33 
    34 class CRawIP2Flow;
    34 class CRawIP2Flow;
       
    35 class CBttLogger;
    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 						BasebandChannelAdaptation2::MUpperControl, BasebandChannelAdaptation2::MUpperDataReceiver
    38 						BasebandChannelAdaptation2::MUpperControl, BasebandChannelAdaptation2::MUpperDataReceiver
    38 	{
    39 	{
    39 public:
    40 public:
    40 	friend class CRawIP2Flow;
    41 	friend class CRawIP2Flow;
    41 	CBinderBase(CRawIP2Flow& aFlow);
    42 	CBinderBase(CRawIP2Flow& aFlow, CBttLogger* aTheLogger);
    42 	virtual ~CBinderBase();
    43 	virtual ~CBinderBase();
    43 
    44 
    44 public:
    45 public:
    45 	// from ESock::MLowerControl
    46 	// from ESock::MLowerControl
    46 	virtual TInt BlockFlow(ESock::MLowerControl::TBlockOption aOption);
    47 	virtual TInt BlockFlow(ESock::MLowerControl::TBlockOption aOption);
    82 protected:
    83 protected:
    83 	CRawIP2Flow* iFlow; // not owned
    84 	CRawIP2Flow* iFlow; // not owned
    84 	ESock::MUpperControl* iUpperControl;  // not owned
    85 	ESock::MUpperControl* iUpperControl;  // not owned
    85 	ESock::MUpperDataReceiver* iUpperReceiver;  // not owned
    86 	ESock::MUpperDataReceiver* iUpperReceiver;  // not owned
    86 	BasebandChannelAdaptation2::MLowerDataSender* iLowerDataSender; // not owned
    87 	BasebandChannelAdaptation2::MLowerDataSender* iLowerDataSender; // not owned
       
    88 	CBttLogger* iTheLogger;
    87 	
    89 	
    88 #ifdef RAWIP_HEADER_APPENDED_TO_PACKETS
    90 #ifdef RAWIP_HEADER_APPENDED_TO_PACKETS
    89 	CIPTagHeader* iIPTagHeader; // owned
    91 	CIPTagHeader* iIPTagHeader; // owned
    90 #endif // RAWIP_HEADER_APPENDED_TO_PACKETS
    92 #endif // RAWIP_HEADER_APPENDED_TO_PACKETS
    91 	
    93