org.compass.gps.device
Class AbstractMirrorGpsDevice
java.lang.Object
org.compass.gps.device.AbstractGpsDevice
org.compass.gps.device.AbstractMirrorGpsDevice
- All Implemented Interfaces:
- CompassGpsDevice, MirrorDataChangesGpsDevice
public abstract class AbstractMirrorGpsDevice
- extends AbstractGpsDevice
- implements MirrorDataChangesGpsDevice
A helper base class for mirror enabled gps devices, i.e. devices that
implement the MirrorDataChangesGpsDevice
interface.
- Author:
- kimchy
Method Summary |
boolean |
isMirrorDataChanges()
Should the device perform real time data mirroring. |
void |
setMirrorDataChanges(boolean mirrorDataChanges)
Sets if the device will perform real time data changes mirroring. |
Methods inherited from class org.compass.gps.device.AbstractGpsDevice |
buildMessage, doIndex, doStart, doStop, getGps, getName, index, injectGps, isFilteredForIndex, isPerformingIndexOperation, isRunning, setFilteredEntitiesForIndex, setName, shouldMirrorDataChanges, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMirrorGpsDevice
public AbstractMirrorGpsDevice()
isMirrorDataChanges
public boolean isMirrorDataChanges()
- Description copied from interface:
MirrorDataChangesGpsDevice
- Should the device perform real time data mirroring.
- Specified by:
isMirrorDataChanges
in interface MirrorDataChangesGpsDevice
- Returns:
true
if the device mirror data changes
setMirrorDataChanges
public void setMirrorDataChanges(boolean mirrorDataChanges)
- Description copied from interface:
MirrorDataChangesGpsDevice
- Sets if the device will perform real time data changes mirroring.
- Specified by:
setMirrorDataChanges
in interface MirrorDataChangesGpsDevice
- Parameters:
mirrorDataChanges
- Should the device mirror data changes
Copyright (c) 2004-2008 The Compass Project.