|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 RouteConfigpublic T getDestination()
RouteConfig
getDestination in interface RouteConfigpublic void setDestination(T destination)
public T getGateway()
RouteConfig
getGateway in interface RouteConfigpublic void setGateway(T gateway)
public T getNetmask()
RouteConfig
getNetmask in interface RouteConfigpublic void setNetmask(T netmask)
public String getInterfaceName()
RouteConfig
getInterfaceName in interface RouteConfigpublic void setInterfaceName(String interfaceName)
public int getMetric()
RouteConfig
getMetric in interface RouteConfigpublic void setMetric(int metric)
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic boolean isValid()
NetConfig
isValid in interface NetConfigpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||