public class VectorRoutingTableEntry extends java.lang.Object implements RoutingTableEntry
Modifier and Type | Method and Description |
---|---|
Address |
getAddress() |
int |
getCost() |
int |
getCost(int topol) |
NetIF |
getNetIF() |
NetIF |
getNetIF(int topol) |
int |
getTopology()
Get the current topology we are using
|
void |
setNetIF(int topol,
NetIF i)
Setter function for network interface
|
void |
setTopology(int t)
Set the current topology we are using
|
java.lang.String |
showTransmitted()
SHow only data transmitted
|
int |
size()
The size in bytes of a RoutingTableEntry.
|
byte[] |
toBytes()
Transform as VectorRoutingTableEntry into a byte[]
|
java.lang.String |
toString()
Entry represented as string
|
public int getTopology()
public void setTopology(int t)
public Address getAddress()
getAddress
in interface RoutingTableEntry
public NetIF getNetIF()
getNetIF
in interface RoutingTableEntry
public NetIF getNetIF(int topol)
public void setNetIF(int topol, NetIF i)
public int getCost()
getCost
in interface RoutingTableEntry
public int getCost(int topol)
public int size()
size
in interface RoutingTableEntry
public byte[] toBytes()
public java.lang.String showTransmitted()
showTransmitted
in interface RoutingTableEntry
public java.lang.String toString()
toString
in interface RoutingTableEntry
toString
in class java.lang.Object
User Space Routing 0.10.3