|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.net.route.RouteConfigIP<T>
T
- public abstract class RouteConfigIP<T extends IPAddress>
Base class for Route configurations
Constructor Summary | |
---|---|
RouteConfigIP(T destination,
T gateway,
T netmask,
String interfaceName,
int metric)
|
Method Summary | |
---|---|
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()
|
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 |
---|
equals |
Constructor Detail |
---|
public RouteConfigIP(T destination, T gateway, T netmask, String interfaceName, int metric)
Method Detail |
---|
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 int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public boolean isValid()
NetConfig
isValid
in interface NetConfig
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |