|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.spotter.AbstractSpotter
org.placelab.spotter.NMEAGPSSpotter
org.placelab.spotter.BluetoothGPSSpotter
org.placelab.spotter.ListenerBluetoothGPSSpotter
| Nested Class Summary |
| Nested classes inherited from class org.placelab.spotter.BluetoothGPSSpotter |
BluetoothGPSSpotter.ScanThread |
| Field Summary |
| Fields inherited from class org.placelab.spotter.BluetoothGPSSpotter |
conn, connectedDeviceName, is, lingeringData, scanThread, serviceUrl, shutdown, state |
| Constructor Summary | |
ListenerBluetoothGPSSpotter(BluetoothSpotter bt)
|
|
| Method Summary | |
void |
close()
Unloads resources used by the spotter. |
protected void |
findGPS()
Locates a bluetooth gps device and hooks up serviceUrl, conn, and is. |
void |
gotMeasurement(Spotter sp,
Measurement m)
|
void |
open()
Load resources used by the spotter. |
void |
spotterExceptionThrown(Spotter sp,
SpotterException se)
|
| Methods inherited from class org.placelab.spotter.BluetoothGPSSpotter |
cleanup, getState, readGPSData, scanningThreadRun, sendASentence, startScanningImpl, stopScanningImpl |
| Methods inherited from class org.placelab.spotter.NMEAGPSSpotter |
getMeasurement, lineAvailable, measurementAvailable, startScanning, startScanning, stopScanning |
| Methods inherited from class org.placelab.spotter.AbstractSpotter |
addListener, notifyEndOfScan, notifyEndOfScan, notifyGotException, notifyGotException, notifyGotMeasurement, notifyGotMeasurement, removeListener, scanOnce, scanOnce, waitForThread |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ListenerBluetoothGPSSpotter(BluetoothSpotter bt)
| Method Detail |
public void open()
Spotter
open in interface Spotteropen in class BluetoothGPSSpotterpublic void close()
Spotter
close in interface Spotterclose in class BluetoothGPSSpotter
public void gotMeasurement(Spotter sp,
Measurement m)
gotMeasurement in interface SpotterListener
public void spotterExceptionThrown(Spotter sp,
SpotterException se)
spotterExceptionThrown in interface SpotterListenerprotected void findGPS()
BluetoothGPSSpotter
findGPS in class BluetoothGPSSpotter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||