#include <bt_sock.h>
| class MBluetoothSocketNotifier |
| Public Member Functions | |
|---|---|
| pure virtual void | HandleAcceptCompleteL(TInt) |
| pure virtual void | HandleActivateBasebandEventNotifierCompleteL(TInt, TBTBasebandEventNotification &) |
| pure virtual void | HandleConnectCompleteL(TInt) |
| pure virtual void | HandleIoctlCompleteL(TInt) |
| pure virtual void | HandleReceiveCompleteL(TInt) |
| pure virtual void | HandleSendCompleteL(TInt) |
| pure virtual void | HandleShutdownCompleteL(TInt) |
| virtual IMPORT_C void | MBSN_ExtensionInterfaceL(TUid, void *&) |
This allows for notification of events relating to a CBluetoothSocket object.
Such notification consists of notification of logical link events (for example receipt of a user packet) and physical link state events (for example change of power mode).
Mixin class to be used with CBluetoothSocket
| void | HandleAcceptCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of an accept complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleActivateBasebandEventNotifierCompleteL | ( | TInt | aErr, |
| TBTBasebandEventNotification & | aEventNotification | |||
| ) | [pure virtual] | |||
Notification of a baseband event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
See also: TBTPhysicalLinkStateNotifier
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleConnectCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a connection complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleIoctlCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a ioctl complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleReceiveCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a receive complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleSendCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a send complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| void | HandleShutdownCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a shutdown complete event.
If the implementation of this function needs to delete associated CBluetoothSocket object, it should NOT use delete operator. The implementation should call CBluetoothSocket::AsyncDelete() method instead.
| Parameters | |
|---|---|
| aErr | the returned error |
| IMPORT_C void | MBSN_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.
| Parameters | |
|---|---|
| aInterface | UID of the interface to return |
| aObject | the container for another interface as specified by aInterface |