org.placelab.stumbler
Class AudioNotifier

java.lang.Object
  extended byorg.placelab.stumbler.AudioNotifier
All Implemented Interfaces:
StumblerFunnelUpdateListener

public class AudioNotifier
extends java.lang.Object
implements StumblerFunnelUpdateListener

This isn't really so much an audio notifier, as it calls out to external executables which could do anything. It does come by default configured for playing sounds on XP (and mac os too! - fats)


Field Summary
 boolean printNotifications
           
 
Constructor Summary
AudioNotifier()
           
 
Method Summary
 void checkAP(BeaconReading br)
           
 void inspectMeasurement(Measurement m)
           
static void main(java.lang.String[] args)
           
 void stumblerUpdated(java.util.Hashtable updates)
          This message is sent after every StumblerFunnel has new data available Note that this callback is sent in the thread that the StumblerUpdateListener used to subscribe itself to the StumblerFunnel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

printNotifications

public boolean printNotifications
Constructor Detail

AudioNotifier

public AudioNotifier()
Method Detail

inspectMeasurement

public void inspectMeasurement(Measurement m)

checkAP

public void checkAP(BeaconReading br)

main

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

stumblerUpdated

public void stumblerUpdated(java.util.Hashtable updates)
Description copied from interface: StumblerFunnelUpdateListener
This message is sent after every StumblerFunnel has new data available Note that this callback is sent in the thread that the StumblerUpdateListener used to subscribe itself to the StumblerFunnel.

Specified by:
stumblerUpdated in interface StumblerFunnelUpdateListener
Parameters:
updates - updates each StumblerSpotter keys to its MeasurementPackages for this update.