com.esf.net.route.service
Class Route

java.lang.Object
  extended by com.esf.net.route.service.Route

public class Route
extends java.lang.Object


Constructor Summary
Route(java.net.InetAddress destination, java.net.InetAddress gateway, java.net.InetAddress netmask, java.lang.String iface)
           
Route(java.net.InetAddress destination, java.net.InetAddress gateway, java.net.InetAddress netmask, java.lang.String iface, int metric)
           
 
Method Summary
 boolean equals(Route route)
           
 java.lang.String getDescription()
           
 java.net.InetAddress getDestination()
           
 java.net.InetAddress getGateway()
           
 java.lang.String getIface()
           
 int getMetric()
           
 java.net.InetAddress getNetmask()
           
 void setDestination(java.net.InetAddress destination)
           
 void setGateway(java.net.InetAddress gateway)
           
 void setIface(java.lang.String iface)
           
 void setMetric(int metric)
           
 void setNetmask(java.net.InetAddress netmask)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Route

public Route(java.net.InetAddress destination,
             java.net.InetAddress gateway,
             java.net.InetAddress netmask,
             java.lang.String iface,
             int metric)

Route

public Route(java.net.InetAddress destination,
             java.net.InetAddress gateway,
             java.net.InetAddress netmask,
             java.lang.String iface)
Method Detail

getDescription

public java.lang.String getDescription()

getDestination

public java.net.InetAddress getDestination()

getGateway

public java.net.InetAddress getGateway()

getNetmask

public java.net.InetAddress getNetmask()

getIface

public java.lang.String getIface()

getMetric

public int getMetric()

setDestination

public void setDestination(java.net.InetAddress destination)

setGateway

public void setGateway(java.net.InetAddress gateway)

setNetmask

public void setNetmask(java.net.InetAddress netmask)

setIface

public void setIface(java.lang.String iface)

setMetric

public void setMetric(int metric)

equals

public boolean equals(Route route)