uwcse.location.objects.sim
Class LogReaderDriver
java.lang.Object
|
+--com.intel.research.rain.Service
|
+--uwcse.location.LocationService
|
+--uwcse.location.FusionClientService
|
+--uwcse.location.objects.SensorDriver
|
+--uwcse.location.objects.sim.LogReaderDriver
- All Implemented Interfaces:
- MessageHandler
- Direct Known Subclasses:
- BeesoftLogConverter, SimulationDriver
- public abstract class LogReaderDriver
- extends SensorDriver
A LogReaderDriver is an abtract class providing functionality to read
objects from a log and pass them to a handler such as Measurements into a
simulator.
- Version:
- $Revision: 1.2 $
- Author:
- Jeffrey Hightower
| Methods inherited from class uwcse.location.LocationService |
addObject, callLocationRpc, correctedTimeMillis, getObject, getSysclockError, handleTerminalCommand, multicastLocationMsg, multicastLocationMsgs, processLocationMsg, processLocationRpc, runTerminalCommandLoop, sendLocationMsg, sendLocationMsgs, setDescription |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogReaderDriver
public LogReaderDriver(String commandName)
throws RainException,
LocationException
- Throws:
RainException
LocationException
LogReaderDriver
public LogReaderDriver(String commandName,
Collection measurementSinkIDs)
throws RainException,
LocationException
- Throws:
RainException
LocationException
processLog
public void processLog(InputStream in)
throws IOException
- Read a logfile and pass deserialized objects to the handler.
- Throws:
IOException
handleNextLogObject
protected void handleNextLogObject(Object obj)
- Generic null handler for objects.
This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/
© Copyright 2004 University of Washington CSE