obex/obexprotocol/obexbttransport/inc/ObexBtRfcommTransportController.h
changeset 57 f6055a57ae18
parent 0 d0791faffa3f
equal deleted inserted replaced
54:4dc88a4ac6f4 57:f6055a57ae18
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __OBEXBTRFCOMMTRANSPORTCONTROLLER_H__
       
    17 #define __OBEXBTRFCOMMTRANSPORTCONTROLLER_H__
       
    18 
       
    19 #include <obex/transport/obextransportcontrollerbase.h>
       
    20 
       
    21 /**
       
    22 @internalComponent
       
    23 Transport Controller for the transport BT RFCOMM
       
    24 */
       
    25 NONSHARABLE_CLASS(CObexBtRfcommTransportController) : public CObexTransportControllerBase
       
    26 	{
       
    27 public:
       
    28 	static CObexBtRfcommTransportController* NewL(TObexTransportInfo& aTransportInfo);
       
    29 	~CObexBtRfcommTransportController();
       
    30 	
       
    31 private: // from CObexTransportControllerBase
       
    32 	void DoRemoteAddr(TSockAddr& aAddr);
       
    33 	void NewTransportL(TObexConnectionInfo& aInfo);
       
    34 	TBool DoIsTransportRestartable() const;
       
    35 	TUint16 GetReceivePacketDataLimit();
       
    36 	void DoProcess(CObexPacket& aPacket);
       
    37 	void DoError(TInt aError);
       
    38 	void DoTransportUp(TObexConnectionInfo& aInfo);
       
    39 	
       
    40 private:
       
    41 	CObexBtRfcommTransportController();
       
    42 	void ConstructL(TObexTransportInfo& aTransportInfo);
       
    43 	};
       
    44 
       
    45 #endif // __OBEXBTRFCOMMTRANSPORTCONTROLLER_H__