telephonyprotocols/rawipnif/rawipnif2/inc/RawIP2Flow.h
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65: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".
    28 #include <networking/packetlogger.h>
    28 #include <networking/packetlogger.h>
    29 #include <in_sock.h>
    29 #include <in_sock.h>
    30 #include <comms-infras/ss_flowbinders.h>
    30 #include <comms-infras/ss_flowbinders.h>
    31 #include <comms-infras/ss_subconnflow.h>
    31 #include <comms-infras/ss_subconnflow.h>
    32 #include "BinderBase.h"
    32 #include "BinderBase.h"
    33 #include "bttlog.h"
       
    34 #include <comms-infras/linkmessages.h>		// for TLinkMessageId
    33 #include <comms-infras/linkmessages.h>		// for TLinkMessageId
    35 
    34 
    36 class CBcaController;
    35 class CBcaController;
    37 class CBttLogger;
       
    38 class CPacketLogger;
    36 class CPacketLogger;
    39 class CBCAProvision;
    37 class CBCAProvision;
    40 
    38 
    41 class CRawIP2Flow : public ESock::CSubConnectionFlowBase, public ESock::MFlowBinderControl
    39 class CRawIP2Flow : public ESock::CSubConnectionFlowBase, public ESock::MFlowBinderControl
    42 	{
    40 	{
    98 
    96 
    99 public:	// Context status retrieval.
    97 public:	// Context status retrieval.
   100 	inline RPacketContext::TContextStatus GetContextStatus();
    98 	inline RPacketContext::TContextStatus GetContextStatus();
   101 	
    99 	
   102 protected:
   100 protected:
   103 	CRawIP2Flow(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf, CBttLogger* aTheLogger);
   101 	CRawIP2Flow(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf);
   104 	void ConstructL();
   102 	void ConstructL();
   105 	virtual ~CRawIP2Flow();
   103 	virtual ~CRawIP2Flow();
   106 	
   104 	
   107 protected:
   105 protected:
   108     class TBinderControlProxy : public ESock::MFlowBinderControl
   106     class TBinderControlProxy : public ESock::MFlowBinderControl
   136     void SendDataClientIdleIfNoClients();
   134     void SendDataClientIdleIfNoClients();
   137 
   135 
   138 private:// Unowned
   136 private:// Unowned
   139 	/** networking packet logger for debugging packets */
   137 	/** networking packet logger for debugging packets */
   140 	__PACKETLOG_DECLARATION_MEMBER;
   138 	__PACKETLOG_DECLARATION_MEMBER;
   141 	CBttLogger* iTheLogger;
   139 	// Upstack bound protocol reference
   142 
   140 
   143 	// The protocol to use (IPv4).Note: This is not owned by this class.
   141 	// The protocol to use (IPv4).Note: This is not owned by this class.
   144 	CBinderBase* iBinder;
   142 	CBinderBase* iBinder;
   145 
   143 
   146 	const CBCAProvision* iBCAProvisionConfig;						// pointer to BCA provisioning structure in CAccessPointConfig
   144 	const CBCAProvision* iBCAProvisionConfig;						// pointer to BCA provisioning structure in CAccessPointConfig