T
- public abstract class RouteConfigIP<T extends IPAddress> extends Object implements RouteConfig
Constructor and Description |
---|
RouteConfigIP(T destination,
T gateway,
T netmask,
String interfaceName,
int metric) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Gets the description of the route
|
T |
getDestination()
Gets the destination of the route
|
T |
getGateway()
Gets the gateway of the route
|
String |
getInterfaceName()
Gets the interface name associated with the route
|
int |
getMetric()
Gets the metric of the route
|
T |
getNetmask()
Gets the network mask of the route
|
int |
hashCode() |
boolean |
isValid()
Checks whether or not this configuration is valid.
|
void |
setDestination(T destination) |
void |
setGateway(T gateway) |
void |
setInterfaceName(String interfaceName) |
void |
setMetric(int metric) |
void |
setNetmask(T netmask) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals
public String getDescription()
RouteConfig
getDescription
in interface RouteConfig
public T getDestination()
RouteConfig
getDestination
in interface RouteConfig
public void setDestination(T destination)
public T getGateway()
RouteConfig
getGateway
in interface RouteConfig
public void setGateway(T gateway)
public T getNetmask()
RouteConfig
getNetmask
in interface RouteConfig
public void setNetmask(T netmask)
public String getInterfaceName()
RouteConfig
getInterfaceName
in interface RouteConfig
public void setInterfaceName(String interfaceName)
public int getMetric()
RouteConfig
getMetric
in interface RouteConfig
public void setMetric(int metric)
public boolean isValid()
NetConfig
Copyright © 2014. All Rights Reserved.