#include <bt_sock.h>
class MBluetoothPhysicalLinksNotifier |
Public Member Functions | |
---|---|
pure virtual void | HandleCreateConnectionCompleteL(TInt) |
pure virtual void | HandleDisconnectAllCompleteL(TInt) |
pure virtual void | HandleDisconnectCompleteL(TInt) |
virtual IMPORT_C void | MBPLN_ExtensionInterfaceL(TUid, void *&) |
This allows for notifications of Physical link connections & disconnections
Mixin class to be used with CBluetoothPhysicalLinks
void | HandleCreateConnectionCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a requested connection coming up
1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks object.
Parameter | Description |
---|---|
aErr | the returned error |
void | HandleDisconnectAllCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification that all existing connections have been torn down
1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks object.
Parameter | Description |
---|---|
aErr | the returned error |
void | HandleDisconnectCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a requested disconnection having taken place
1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks object.
Parameter | Description |
---|---|
aErr | the returned error |
IMPORT_C void | MBPLN_ExtensionInterfaceL | ( | TUid | aInterface, |
void *& | aObject | |||
) | [virtual] |
Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is. This virtual function allows the M- class to be extended in future in a binary compatible way by providing a method that clients can override in future to allow extra callbacks to be made via aObject.
Parameter | Description |
---|---|
aInterface | UID of the interface to return |
aObject | the container for another interface as specified by aInterface |