equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-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". |
35 static CReceiver* NewL(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize); |
35 static CReceiver* NewL(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize); |
36 ~CReceiver(); |
36 ~CReceiver(); |
37 |
37 |
38 // Inherited from CActive. |
38 // Inherited from CActive. |
39 virtual void RunL(); |
39 virtual void RunL(); |
|
40 virtual TInt RunError(TInt aError); |
40 virtual void DoCancel(); |
41 virtual void DoCancel(); |
|
42 |
41 void StartListening(); |
43 void StartListening(); |
42 |
44 |
43 private: |
45 private: |
44 CReceiver(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize); |
46 CReceiver(CBcaIoController& aObserver, CBttLogger* aTheLogger, TUint aMaxPacketSize); |
45 void ConstructL(); |
47 void ConstructL(); |