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