com.esf.net.route.service
Class Route
java.lang.Object
com.esf.net.route.service.Route
public class Route
- extends java.lang.Object
Constructor Summary |
Route(java.net.InetAddress destination,
java.net.InetAddress gateway,
java.net.InetAddress netmask,
java.lang.String iface)
|
Route(java.net.InetAddress destination,
java.net.InetAddress gateway,
java.net.InetAddress netmask,
java.lang.String iface,
int metric)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Route
public Route(java.net.InetAddress destination,
java.net.InetAddress gateway,
java.net.InetAddress netmask,
java.lang.String iface,
int metric)
Route
public Route(java.net.InetAddress destination,
java.net.InetAddress gateway,
java.net.InetAddress netmask,
java.lang.String iface)
getDescription
public java.lang.String getDescription()
getDestination
public java.net.InetAddress getDestination()
getGateway
public java.net.InetAddress getGateway()
getNetmask
public java.net.InetAddress getNetmask()
getIface
public java.lang.String getIface()
getMetric
public int getMetric()
setDestination
public void setDestination(java.net.InetAddress destination)
setGateway
public void setGateway(java.net.InetAddress gateway)
setNetmask
public void setNetmask(java.net.InetAddress netmask)
setIface
public void setIface(java.lang.String iface)
setMetric
public void setMetric(int metric)
equals
public boolean equals(Route route)