com.eurotech.framework.net.route
Class RouteConfigIP4

java.lang.Object
  extended by com.eurotech.framework.net.route.RouteConfigIP<IP4Address>
      extended by 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


Constructor Summary
RouteConfigIP4(IP4Address destination, IP4Address gateway, IP4Address netmask, String interfaceName, int metric)
           
 
Method Summary
 boolean equals(RouteConfig route)
          Compares one route to another
 String toString()
           
 
Methods inherited from class com.eurotech.framework.net.route.RouteConfigIP
equals, getDescription, getDestination, getGateway, getInterfaceName, getMetric, getNetmask, hashCode, isValid, setDestination, setGateway, setInterfaceName, setMetric, setNetmask
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.eurotech.framework.net.route.RouteConfig
getDescription, getDestination, getGateway, getInterfaceName, getMetric, getNetmask
 
Methods inherited from interface com.eurotech.framework.net.NetConfig
isValid
 

Constructor Detail

RouteConfigIP4

public RouteConfigIP4(IP4Address destination,
                      IP4Address gateway,
                      IP4Address netmask,
                      String interfaceName,
                      int metric)
Method Detail

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.