org.opennms.netmgt.linkd
Class RouterInterface

java.lang.Object
  extended by org.opennms.netmgt.linkd.RouterInterface

public class RouterInterface
extends Object

RouterInterface class.

Version:
$Id: $
Author:
antonio

Method Summary
 int getIfindex()
          Getter for the field ifindex.
 int getMetric()
          Getter for the field metric.
 InetAddress getNetmask()
          getNetmask
 InetAddress getNextHop()
          Getter for the field nextHop.
 int getNextHopIfindex()
          Getter for the field nextHopIfindex.
 InetAddress getNextHopNet()
          getNextHopNet
 int getNextHopNodeid()
          getNextHopNodeid
 InetAddress getRouteDest()
          getRouteDest
 InetAddress getRoutemask()
          Getter for the field routemask.
 InetAddress getRouteNet()
          getRouteNet
 int getSnmpiftype()
          Getter for the field snmpiftype.
 void setIfindex(int ifindex)
          Setter for the field ifindex.
 void setMetric(int metric)
          Setter for the field metric.
 void setNextHop(InetAddress nextHop)
          Setter for the field nextHop.
 void setRouteDest(InetAddress routedest)
          setRouteDest
 void setRoutemask(InetAddress routemask)
          Setter for the field routemask.
 void setSnmpiftype(int snmpiftype)
          Setter for the field snmpiftype.
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getIfindex

public int getIfindex()

Getter for the field ifindex.

Returns:
Returns the ifindex.

getMetric

public int getMetric()

Getter for the field metric.

Returns:
Returns the metric.

setMetric

public void setMetric(int metric)

Setter for the field metric.

Parameters:
metric - The metric to set.

getNextHop

public InetAddress getNextHop()

Getter for the field nextHop.

Returns:
Returns the nextHop.

setNextHop

public void setNextHop(InetAddress nextHop)

Setter for the field nextHop.

Parameters:
nextHop - The nextHop to set.

getSnmpiftype

public int getSnmpiftype()

Getter for the field snmpiftype.

Returns:
Returns the snmpiftype.

setSnmpiftype

public void setSnmpiftype(int snmpiftype)

Setter for the field snmpiftype.

Parameters:
snmpiftype - The snmpiftype to set.

getNetmask

public InetAddress getNetmask()

getNetmask

Returns:
a InetAddress object.

getNextHopNodeid

public int getNextHopNodeid()

getNextHopNodeid

Returns:
a int.

getNextHopIfindex

public int getNextHopIfindex()

Getter for the field nextHopIfindex.

Returns:
a int.

setIfindex

public void setIfindex(int ifindex)

Setter for the field ifindex.

Parameters:
ifindex - a int.

getNextHopNet

public InetAddress getNextHopNet()

getNextHopNet

Returns:
a InetAddress object.

getRouteNet

public InetAddress getRouteNet()

getRouteNet

Returns:
a InetAddress object.

getRouteDest

public InetAddress getRouteDest()

getRouteDest

Returns:
a InetAddress object.

setRouteDest

public void setRouteDest(InetAddress routedest)

setRouteDest

Parameters:
routedest - a InetAddress object.

getRoutemask

public InetAddress getRoutemask()

Getter for the field routemask.

Returns:
a InetAddress object.

setRoutemask

public void setRoutemask(InetAddress routemask)

Setter for the field routemask.

Parameters:
routemask - a InetAddress object.

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.