|
||||||||||
| 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.StreamGPSSpotter
org.placelab.spotter.SerialJ9GPSSpotter
SerialJ9GPSSpotter is the PocketPC implementation of a serial spotter. Instead of using RXTX, we use IBM's implementation. We subclass StreamGPSSpotter and it handles the IO, all we have to do is open the serial port and get the streams.
| Constructor Summary | |
SerialJ9GPSSpotter()
|
|
| Method Summary | |
void |
close()
Unloads resources used by the spotter. |
void |
open()
Load resources used by the spotter. |
| Methods inherited from class org.placelab.spotter.StreamGPSSpotter |
open, 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 SerialJ9GPSSpotter()
| Method Detail |
public void open()
throws SpotterException
Spotter
SpotterException - if the necessary hardware or software for this spotter
is not present
public void close()
throws SpotterException
Spotter
close in interface Spotterclose in class StreamGPSSpotterSpotterException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||