public class Route
extends java.lang.Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Route route) |
java.lang.String |
getDescription() |
java.net.InetAddress |
getDestination() |
java.net.InetAddress |
getGateway() |
java.lang.String |
getIface() |
int |
getMetric() |
java.net.InetAddress |
getNetmask() |
void |
setDestination(java.net.InetAddress destination) |
void |
setGateway(java.net.InetAddress gateway) |
void |
setIface(java.lang.String iface) |
void |
setMetric(int metric) |
void |
setNetmask(java.net.InetAddress netmask) |
java.lang.String |
toString() |
public Route(java.net.InetAddress destination, java.net.InetAddress gateway, java.net.InetAddress netmask, java.lang.String iface, int metric)
public Route(java.net.InetAddress destination, java.net.InetAddress gateway, java.net.InetAddress netmask, java.lang.String iface)
public java.lang.String getDescription()
public java.net.InetAddress getDestination()
public java.net.InetAddress getGateway()
public java.net.InetAddress getNetmask()
public java.lang.String getIface()
public int getMetric()
public void setDestination(java.net.InetAddress destination)
public void setGateway(java.net.InetAddress gateway)
public void setNetmask(java.net.InetAddress netmask)
public void setIface(java.lang.String iface)
public void setMetric(int metric)
public boolean equals(Route route)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009 Eurotech Inc. All rights reserved.