Logic
Class SnmPoller

java.lang.Object
  extended by Logic.SnmPoller

public class SnmPoller
extends java.lang.Object

snmPoller Class is the class to hold all the methods needed for the Network Topology discovery

Author:
Ioannis Kakavas, Spyridon Dossis

Constructor Summary
SnmPoller()
          Runs the algorithm for discovering the network topology and create an array of Router objects which will hold the information for every router in the topology
 
Method Summary
 RouterCollection getInfo(java.net.Inet4Address routerIp, java.lang.String userName, java.lang.String authPass)
          Gets an ip address of a router,username and authentication password and returns the information needed as a Router object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmPoller

public SnmPoller()
Runs the algorithm for discovering the network topology and create an array of Router objects which will hold the information for every router in the topology

Method Detail

getInfo

public RouterCollection getInfo(java.net.Inet4Address routerIp,
                                java.lang.String userName,
                                java.lang.String authPass)
Gets an ip address of a router,username and authentication password and returns the information needed as a Router object

Parameters:
routerIp - the IP address of the router in question
userName - the username for SNMPv3 support
authPass - the authentication password for SNMPv3 suppotr