public class RouterInterface extends Object
| Constructor and Description |
|---|
RouterInterface(int nextHopNodeId,
int nextHopIfIndex) |
RouterInterface(int nextHopNodeId,
int nextHopIfIndex,
InetAddress nextHopNetmask) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIfindex()
Getter for the field
ifindex. |
InetAddress |
getNextHop() |
int |
getNextHopIfindex()
Getter for the field
nextHopIfindex. |
InetAddress |
getNextHopNetmask()
getNetmask
|
int |
getNextHopNodeid()
getNextHopNodeid
|
void |
setIfindex(int ifindex)
Setter for the field
ifindex. |
void |
setNextHop(InetAddress nexthop) |
String |
toString()
toString
|
public RouterInterface(int nextHopNodeId,
int nextHopIfIndex,
InetAddress nextHopNetmask)
public RouterInterface(int nextHopNodeId,
int nextHopIfIndex)
public int getIfindex()
Getter for the field ifindex.
public InetAddress getNextHopNetmask()
getNetmask
InetAddress object.public int getNextHopNodeid()
getNextHopNodeid
public int getNextHopIfindex()
Getter for the field nextHopIfindex.
public void setIfindex(int ifindex)
Setter for the field ifindex.
ifindex - a int.public InetAddress getNextHop()
public String toString()
toString
public void setNextHop(InetAddress nexthop)
Copyright © 2015. All rights reserved.