uwcse.location.objects.sim
Class MeasurementLogger
java.lang.Object
|
+--com.intel.research.rain.Service
|
+--uwcse.location.LocationService
|
+--uwcse.location.objects.sim.MeasurementLogger
- All Implemented Interfaces:
- MessageHandler
- public class MeasurementLogger
- extends LocationService
A service to collect and log Measurments generated by various hardware
drivers for later reply by the simulation driver.
- Version:
- $Revision: 1.2 $
- Author:
- Jeffrey Hightower
- See Also:
Measurement
| 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 |
m_typeToStatMap
protected Map m_typeToStatMap
MeasurementLogger
public MeasurementLogger(OutputStream outStream)
throws RainException,
LocationException
- Throws:
RainException
LocationException
processLocationMsg
protected void processLocationMsg(ServiceID from,
LocationMsg@MeasurementMsg measMsg)
- Handle incoming Measurements by logging them.
- Overrides:
processLocationMsg in class LocationService
withdraw
protected void withdraw()
- Supplement the inherited behavior to print summary statistics when
shutting down.
- Overrides:
withdraw in class LocationService
printUsageAndExit
protected static void printUsageAndExit()
- Show the program argument usage and then exit.
main
public static void main(String[] argv)
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