com.eurotech.framework.net.route
Class RouteConfigIP4
java.lang.Object
com.eurotech.framework.net.route.RouteConfigIP<IP4Address>
com.eurotech.framework.net.route.RouteConfigIP4
- All Implemented Interfaces:
- NetConfig, RouteConfig, RouteConfig4
public class RouteConfigIP4
- extends RouteConfigIP<IP4Address>
- implements RouteConfig4
Implementation of IPv4 route configurations
Methods inherited from class com.eurotech.framework.net.route.RouteConfigIP |
equals, getDescription, getDestination, getGateway, getInterfaceName, getMetric, getNetmask, hashCode, isValid, setDestination, setGateway, setInterfaceName, setMetric, setNetmask |
RouteConfigIP4
public RouteConfigIP4(IP4Address destination,
IP4Address gateway,
IP4Address netmask,
String interfaceName,
int metric)
equals
public boolean equals(RouteConfig route)
- Description copied from interface:
RouteConfig
- Compares one route to another
- Specified by:
equals
in interface RouteConfig
- Returns:
- Whether or not the two routes are equal
toString
public String toString()
- Overrides:
toString
in class RouteConfigIP<IP4Address>
Copyright © 2013. All Rights Reserved.