com.partnersoft.gps
Class AbstractGPSDevice
java.lang.Object
com.partnersoft.gps.AbstractGPSDevice
- All Implemented Interfaces:
- GPSDevice
- Direct Known Subclasses:
- NmeaGps, SimulatedGpsDevice
public abstract class AbstractGPSDevice
- extends java.lang.Object
- implements GPSDevice
Abstract base class for GPSDevices. Implements the listener methods.
Call caster.dispatchEvent(null) to udpate the GPS status.
- Author:
- Russell Cagle Copyright 2006 Partner Software, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
caster
protected transient EventMulticaster caster
- Implements the caster.
AbstractGPSDevice
public AbstractGPSDevice()
addGPSListener
public void addGPSListener(GPSListener listener)
- Specified by:
addGPSListener in interface GPSDevice
removeGPSListener
public void removeGPSListener(GPSListener listener)
- Specified by:
removeGPSListener in interface GPSDevice
removeAllListeners
public void removeAllListeners()
- Description copied from interface:
GPSDevice
- Drops all listeners. Used by headless map app shutdown.
- Specified by:
removeAllListeners in interface GPSDevice