org.placelab.stumbler.smallgui
Class BeaconReceiver

java.lang.Object
  extended byorg.placelab.stumbler.smallgui.Receiver
      extended byorg.placelab.stumbler.smallgui.BeaconReceiver
All Implemented Interfaces:
SpotterListener
Direct Known Subclasses:
BluetoothReceiver, WiFiReceiver

public abstract class BeaconReceiver
extends Receiver


Constructor Summary
BeaconReceiver(java.lang.Class readingClass)
           
 
Method Summary
 int currentNumBeacons()
           
abstract  java.util.Hashtable extractFields(BeaconReading br)
           
 java.util.Hashtable[] getBeaconData()
           
abstract  java.lang.Class[] getSupportedSpotters()
           
 void gotMeasurementImpl(Spotter sender, Measurement m)
           
 int totalNumBeacons()
           
 
Methods inherited from class org.placelab.stumbler.smallgui.Receiver
addListener, getType, gotMeasurement, spotterExceptionThrown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeaconReceiver

public BeaconReceiver(java.lang.Class readingClass)
Method Detail

gotMeasurementImpl

public void gotMeasurementImpl(Spotter sender,
                               Measurement m)
Specified by:
gotMeasurementImpl in class Receiver

extractFields

public abstract java.util.Hashtable extractFields(BeaconReading br)

getSupportedSpotters

public abstract java.lang.Class[] getSupportedSpotters()
Specified by:
getSupportedSpotters in class Receiver

totalNumBeacons

public int totalNumBeacons()

currentNumBeacons

public int currentNumBeacons()

getBeaconData

public java.util.Hashtable[] getBeaconData()