urv.emulator.tasks.topology
Class TopologyChecker

java.lang.Object
  extended by urv.emulator.tasks.topology.TopologyChecker

public class TopologyChecker
extends java.lang.Object

Author:
Marcel Arrufat Arias

Constructor Summary
TopologyChecker(VirtualNetworkInformation vni)
           
 
Method Summary
 boolean checkOneHopNeighbors(java.net.InetAddress emuNodeAddress)
          Compares neighbors stored in the neighbor table with information from the emulation (topology graph) return true if both neighbors set match
 boolean checkTwoHopNeighbors(java.net.InetAddress emuNodeAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyChecker

public TopologyChecker(VirtualNetworkInformation vni)
Method Detail

checkOneHopNeighbors

public boolean checkOneHopNeighbors(java.net.InetAddress emuNodeAddress)
Compares neighbors stored in the neighbor table with information from the emulation (topology graph) return true if both neighbors set match

Parameters:
emuNodeAddress -
Returns:

checkTwoHopNeighbors

public boolean checkTwoHopNeighbors(java.net.InetAddress emuNodeAddress)