org.placelab.demo.webservices
Class WebService

java.lang.Object
  extended byorg.placelab.demo.webservices.WebService
All Implemented Interfaces:
EstimateListener

public class WebService
extends java.lang.Object
implements EstimateListener


Field Summary
protected  Estimate estimate
           
protected  PlacelabWithProxy placelab
           
 
Constructor Summary
WebService()
           
WebService(java.lang.String logFile, java.lang.String mapperName)
           
 
Method Summary
 void estimateUpdated(Tracker t, Estimate e, Measurement m)
          Implement this method to respond to updates from the Tracker(s) you are registered with.
 PlacelabWithProxy getDaemon()
           
 TwoDCoordinate getEstimatedPosition()
           
static void main(java.lang.String[] args)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

placelab

protected PlacelabWithProxy placelab

estimate

protected Estimate estimate
Constructor Detail

WebService

public WebService()

WebService

public WebService(java.lang.String logFile,
                  java.lang.String mapperName)
Method Detail

estimateUpdated

public void estimateUpdated(Tracker t,
                            Estimate e,
                            Measurement m)
Description copied from interface: EstimateListener
Implement this method to respond to updates from the Tracker(s) you are registered with.

Specified by:
estimateUpdated in interface EstimateListener
Parameters:
t - the Tracker producing the Estimate
e - the Estimate produced by the Tracker
m - the latest Measurement used by the Tracker to produce the Estimate

getDaemon

public PlacelabWithProxy getDaemon()

getEstimatedPosition

public TwoDCoordinate getEstimatedPosition()

start

public void start()

main

public static void main(java.lang.String[] args)