telephonyprotocols/rawipnif/inc/BcaIoController.h
branchRCL_3
changeset 17 3f227a47ad75
parent 16 fe8b59ab9fa0
child 65 630d2f34d719
equal deleted inserted replaced
16:fe8b59ab9fa0 17:3f227a47ad75
    55 @internalComponent 
    55 @internalComponent 
    56 */	
    56 */	
    57 class CBcaIoController : public CBase
    57 class CBcaIoController : public CBase
    58 	{
    58 	{
    59 public:
    59 public:
    60 	static CBcaIoController* NewL(MControllerObserver& aObserver, CBttLogger* aTheLogger);
    60 	static CBcaIoController* NewL(MControllerObserver& aObserver, CBttLogger* aTheLogger);	
    61 	void ConstructL();
       
    62 	~CBcaIoController();
    61 	~CBcaIoController();
    63 
    62 
    64 	void StartL();
    63 	void StartL();
    65 	void Stop(TInt aError = KErrNone);
    64 	void Stop(TInt aError = KErrNone);
    66 	ESock::MLowerDataSender::TSendResult Send(RMBufChain& aPdu);
    65 	ESock::MLowerDataSender::TSendResult Send(RMBufChain& aPdu);
    91     TUint16 RemoveHeader(RMBufChain& aPdu);
    90     TUint16 RemoveHeader(RMBufChain& aPdu);
    92 #endif // RAWIP_HEADER_APPENDED_TO_PACKETS
    91 #endif // RAWIP_HEADER_APPENDED_TO_PACKETS
    93     
    92     
    94 protected:
    93 protected:
    95     CBttLogger* iTheLogger;
    94     CBttLogger* iTheLogger;
    96     TInt iMaxTxPacketSize;
    95     TUint iMaxTxPacketSize;
    97     TInt iMaxRxPacketSize;
    96     TUint iMaxRxPacketSize;
    98     
    97     
    99 private:
    98 private:
   100     
    99     
   101     CBcaIoController(MControllerObserver& aObserver, CBttLogger* aTheLogger);
   100     CBcaIoController(MControllerObserver& aObserver, CBttLogger* aTheLogger);
       
   101     void ConstructL();
   102     
   102     
   103     enum TSendState
   103     enum TSendState
   104         {
   104         {
   105         EIdle,
   105         EIdle,
   106         ESending,
   106         ESending,