ist.palcom.mal.bt
Class BluetoothDiscoveryThread
java.lang.Object
ist.palcom.palcomthreads.PalcomThread
ist.palcom.palcomthreads.PalcomPriorityThread
ist.palcom.mal.bt.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BluetoothDiscoveryThread
protected BluetoothDiscoveryThread(PalcomScheduler scheduler,
BluetoothConnectionManagerThread connectionManager,
AbstractMediaManager.DistributorThread distributor)
throws javax.bluetooth.BluetoothStateException
- Throws:
javax.bluetooth.BluetoothStateException
setUp
protected void setUp()
throws javax.bluetooth.BluetoothStateException
- Perform socket set-up if needed.
- Throws:
javax.bluetooth.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