org.compass.gps.device
Class AbstractMirrorGpsDevice

java.lang.Object
  extended by org.compass.gps.device.AbstractGpsDevice
      extended by 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

Field Summary
 
Fields inherited from class org.compass.gps.device.AbstractGpsDevice
compassGps, log
 
Constructor Summary
AbstractMirrorGpsDevice()
           
 
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
 
Methods inherited from interface org.compass.gps.CompassGpsDevice
getGps, getName, index, injectGps, isPerformingIndexOperation, isRunning, setName, shouldMirrorDataChanges, start, stop
 

Constructor Detail

AbstractMirrorGpsDevice

public AbstractMirrorGpsDevice()
Method Detail

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.