edu.cmu.emulator.wlandev.monitor
Class RoamMonitor

java.lang.Object
  extended by edu.cmu.emulator.wlandev.monitor.RoamMonitor
All Implemented Interfaces:
Runnable

public class RoamMonitor
extends Object
implements Runnable


Field Summary
protected  gmj.net.PhysicalAddress curBSSID
           
protected  RoamInfo curRoamInfo
           
protected  EmuNode emuNode
           
protected  boolean inRun
           
protected  long intervalMillis
           
protected  Stopwatch monitorSW
           
protected  RoamListenerWorker rlWorker
           
protected  ArrayList roamList
           
protected  boolean runningMonitor
           
protected  WLANDevice wlanDev
           
 
Constructor Summary
RoamMonitor(EmuNode emuNode, WLANDevice wlanDev, long intervalMillis)
           
 
Method Summary
 void addRoamListener(RoamListener listener)
           
protected  void checkRoam()
           
 void displayRoamList()
           
 RoamHistory getRoamHist()
           
 RoamHistory getRoamHist(gmj.net.PhysicalAddress oldBSSID, long moveTimeMillis)
           
protected  RoamInfo[] getRoamInfoArray()
           
 ArrayList getRoamList()
           
 void removeRoamListener(RoamListener listener)
           
 void run()
           
 void startMonitor()
           
protected  void startRoamCheck()
           
 void stopMonitor()
           
protected  void stopRoamCheck()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emuNode

protected EmuNode emuNode

wlanDev

protected WLANDevice wlanDev

roamList

protected ArrayList roamList

runningMonitor

protected boolean runningMonitor

inRun

protected boolean inRun

intervalMillis

protected long intervalMillis

curBSSID

protected gmj.net.PhysicalAddress curBSSID

curRoamInfo

protected RoamInfo curRoamInfo

monitorSW

protected Stopwatch monitorSW

rlWorker

protected RoamListenerWorker rlWorker
Constructor Detail

RoamMonitor

public RoamMonitor(EmuNode emuNode,
                   WLANDevice wlanDev,
                   long intervalMillis)
Method Detail

addRoamListener

public void addRoamListener(RoamListener listener)

removeRoamListener

public void removeRoamListener(RoamListener listener)

getRoamList

public ArrayList getRoamList()

getRoamHist

public RoamHistory getRoamHist()

getRoamHist

public RoamHistory getRoamHist(gmj.net.PhysicalAddress oldBSSID,
                               long moveTimeMillis)

getRoamInfoArray

protected RoamInfo[] getRoamInfoArray()

displayRoamList

public void displayRoamList()

startMonitor

public void startMonitor()

stopMonitor

public void stopMonitor()

run

public void run()
Specified by:
run in interface Runnable

startRoamCheck

protected void startRoamCheck()

checkRoam

protected void checkRoam()

stopRoamCheck

protected void stopRoamCheck()


Copyright © 2013. All Rights Reserved.