com.eurotech.framework.linux.net.route
Class RouteFile
java.lang.Object
com.eurotech.framework.linux.net.route.RouteFile
public class RouteFile
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouteFile
public RouteFile(String interfaceName)
addRoute
public boolean addRoute(IPAddress destination,
IPAddress gateway,
IPAddress netmask,
String ifaceName)
removeRoute
public boolean removeRoute(IPAddress destination,
IPAddress gateway,
IPAddress netmask,
String iface)
getRoutes
public RouteConfig[] getRoutes()
cleanFile
public void cleanFile()
Copyright © 2013. All Rights Reserved.