ist.palcom.mal
Class BluetoothDiscoveryThread
java.lang.Object
ist.palcom.palcomthreads.PalcomThread
ist.palcom.palcomthreads.PalcomPriorityThread
ist.palcom.mal.BluetoothDiscoveryThread
public class BluetoothDiscoveryThread
- extends PalcomPriorityThread
This class implements ist.palcom.mal.BluetoothCommunicationThread
BluetoothCommunicationThread is a CommunicationThread for Bluetooth communication. It
sends an receives on one Bluetooth socket and is thus the rfcomm connection to a specific
host
- See Also:
CommunicationThread
|
Method Summary |
void |
run()
This method is overridden by subclasses. |
protected void |
setUp()
Perform socket set-up if needed. |
protected void |
tearDown()
Close socket if needed. |
BluetoothDiscoveryThread
protected BluetoothDiscoveryThread(PalcomScheduler scheduler,
BluetoothConnectionManagerThread connectionManager,
MediaManager.DistributorThread distributor)
throws BluetoothStateException
- Throws:
BluetoothStateException
setUp
protected void setUp()
throws BluetoothStateException
- Perform socket set-up if needed.
- Throws:
BluetoothStateException
tearDown
protected void tearDown()
- Close socket if needed.
run
public void run()
- Description copied from class:
PalcomThread
- This method is overridden by subclasses.
- Overrides:
run in class PalcomThread