net.clackrouter.routing
Class OSPFRoutingEntry

java.lang.Object
  extended by net.clackrouter.routing.RoutingEntry
      extended by net.clackrouter.routing.OSPFRoutingEntry
All Implemented Interfaces:
java.lang.Comparable

public class OSPFRoutingEntry
extends RoutingEntry

Extension of RoutingEntry to also hold OSPF data within a RoutingTable.


Field Summary
 int cost
           
 boolean isLocal
           
 
Fields inherited from class net.clackrouter.routing.RoutingEntry
interface_name, last_access, mask, network, nextHop
 
Constructor Summary
OSPFRoutingEntry(java.net.InetAddress dest, java.net.InetAddress next, java.net.InetAddress mask, java.lang.String iface, int c, boolean local)
           
 
Method Summary
 
Methods inherited from class net.clackrouter.routing.RoutingEntry
compareTo, getDestination, getInterface, getMask, getNextHop, isDefault, matches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isLocal

public boolean isLocal

cost

public int cost
Constructor Detail

OSPFRoutingEntry

public OSPFRoutingEntry(java.net.InetAddress dest,
                        java.net.InetAddress next,
                        java.net.InetAddress mask,
                        java.lang.String iface,
                        int c,
                        boolean local)