Inherited by CBluetoothConnector, and CBluetoothResponder.
Public Member Functions | |
virtual | ~CBluetoothConnectionBase () |
virtual void | SendData (const TDesC8 &aData)=0 |
virtual void | StartL ()=0 |
TInt | Handle () const |
TBool | Master () const |
Protected Member Functions | |
CBluetoothConnectionBase (TBool aMaster) | |
Protected Attributes | |
TBool | iMaster |
TInt | iHandle |
CBluetoothConnectionBase Virtual base class that wraps the common Connector/Responder's functionality
Definition at line 47 of file CommonInterfaces.h.
CBluetoothConnectionBase::~CBluetoothConnectionBase | ( | ) | [virtual] |
Destructor
Definition at line 38 of file BluetoothConnectorBase.cpp.
CBluetoothConnectionBase::CBluetoothConnectionBase | ( | TBool | aMaster | ) | [protected] |
Constructor
aMaster | ETrue if the derived class is a Connector |
Definition at line 47 of file BluetoothConnectorBase.cpp.
virtual void CBluetoothConnectionBase::SendData | ( | const TDesC8 & | aData | ) | [pure virtual] |
Send the data to the remote BT device
aData | A descriptor for the data being sent to the remote BT device |
Implemented in CBluetoothConnector, and CBluetoothResponder.
virtual void CBluetoothConnectionBase::StartL | ( | ) | [pure virtual] |
Kick off the state machine of the Connector/Responder
Implemented in CBluetoothConnector, and CBluetoothResponder.
TInt CBluetoothConnectionBase::Handle | ( | ) | const |
Return the object handle
Definition at line 70 of file CommonInterfaces.h.
TBool CBluetoothConnectionBase::Master | ( | ) | const |
Query to find out if CBluetoothConnectionBase is either a Master or Slave
Definition at line 76 of file CommonInterfaces.h.
TBool CBluetoothConnectionBase::iMaster [protected] |
Flag for querying if the object is a Master
Definition at line 89 of file CommonInterfaces.h.
TInt CBluetoothConnectionBase::iHandle [protected] |
Object's handle
Definition at line 94 of file CommonInterfaces.h.