Logic
Class SnmpLoadPoller

java.lang.Object
  extended by Logic.SnmpLoadPoller
All Implemented Interfaces:
java.lang.Runnable

public class SnmpLoadPoller
extends java.lang.Object
implements java.lang.Runnable

Thread responsible for polling the routers in the Outlier Detection Mode (training and operational mode) and storing the results on the router object.

Author:
Ioannis Kakavas, Spyridon Dossis

Constructor Summary
SnmpLoadPoller(Router r, java.lang.String userName, java.lang.String authPass, double timePeriod)
           
 
Method Summary
 Router getRouter()
           
 void run()
          Polls the router for inOctets an all its interfaces, calculates the load and adds it to the router object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpLoadPoller

public SnmpLoadPoller(Router r,
                      java.lang.String userName,
                      java.lang.String authPass,
                      double timePeriod)
Method Detail

getRouter

public Router getRouter()

run

public void run()
Polls the router for inOctets an all its interfaces, calculates the load and adds it to the router object

Specified by:
run in interface java.lang.Runnable