com.eurotech.framework.net.route
Interface RouteConfig

All Superinterfaces:
NetConfig
All Known Subinterfaces:
RouteConfig4, RouteConfig6
All Known Implementing Classes:
RouteConfigIP, RouteConfigIP4, RouteConfigIP6

public interface RouteConfig
extends NetConfig

Route configuration interface


Method Summary
 boolean equals(RouteConfig r)
          Compares one route to another
 String getDescription()
          Gets the description of the route
 IPAddress getDestination()
          Gets the destination of the route
 IPAddress 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
 IPAddress getNetmask()
          Gets the network mask of the route
 
Methods inherited from interface com.eurotech.framework.net.NetConfig
isValid
 

Method Detail

getDescription

String getDescription()
Gets the description of the route

Returns:
The description of the route

getDestination

IPAddress getDestination()
Gets the destination of the route

Returns:
The destination of the route

getGateway

IPAddress getGateway()
Gets the gateway of the route

Returns:
The gateway of the route

getNetmask

IPAddress getNetmask()
Gets the network mask of the route

Returns:
The network mask of the route

getInterfaceName

String getInterfaceName()
Gets the interface name associated with the route

Returns:
The interface name associated with the route

getMetric

int getMetric()
Gets the metric of the route

Returns:
The metric of the route

equals

boolean equals(RouteConfig r)
Compares one route to another

Returns:
Whether or not the two routes are equal


Copyright © 2013. All Rights Reserved.