|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.clackrouter.routing.RoutingEntry
public class RoutingEntry
Represents a single routing entry contained by a RoutingTable
.
Field Summary | |
---|---|
java.lang.String |
interface_name
Name of outgoing interface for the next-hop associated with this entry |
long |
last_access
|
java.net.InetAddress |
mask
The mask portion of the destination address for this entry |
java.net.InetAddress |
network
The network portion of the destination address for this entry |
java.net.InetAddress |
nextHop
IP Address of the next-hop router for this entry |
Constructor Summary | |
---|---|
RoutingEntry(java.net.InetAddress dest,
java.net.InetAddress next,
java.net.InetAddress net_mask,
java.lang.String iface)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
|
java.net.InetAddress |
getDestination()
|
java.lang.String |
getInterface()
|
java.net.InetAddress |
getMask()
|
java.net.InetAddress |
getNextHop()
|
boolean |
isDefault()
|
boolean |
matches(java.net.InetAddress destIn)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.net.InetAddress network
public java.net.InetAddress mask
public java.net.InetAddress nextHop
public java.lang.String interface_name
public long last_access
Constructor Detail |
---|
public RoutingEntry(java.net.InetAddress dest, java.net.InetAddress next, java.net.InetAddress net_mask, java.lang.String iface)
Method Detail |
---|
public java.net.InetAddress getDestination()
public java.net.InetAddress getMask()
public java.net.InetAddress getNextHop()
public java.lang.String getInterface()
public boolean isDefault()
public boolean matches(java.net.InetAddress destIn)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |