com.partnersoft.io.gps
Class GPSDaemon
java.lang.Object
com.partnersoft.io.gps.GPSDaemon
- All Implemented Interfaces:
- GPSConstants
public class GPSDaemon
- extends java.lang.Object
- implements GPSConstants
Manages the low-level details of the GPS connection. Allows
an application to simply subscribe for GPSEvents or just ask for
the last status or reading.
- Author:
- Paul Reavis
Copyright 2003 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GPSDaemon
public GPSDaemon()
changeGPSSettings
public void changeGPSSettings(GPSSettings newSettings)
- This is more than just a setter function; it configures and restarts the GPS input daemon.
getGPSSettings
public GPSSettings getGPSSettings()
getLastStatusCode
public int getLastStatusCode()
getLastReading
public GPSReading getLastReading()
start
public void start()
stop
public void stop()
addGPSListener
public void addGPSListener(GPSListener nosey)
removeGPSListener
public void removeGPSListener(GPSListener nosey)