public class SimpleRoutingTableEntry extends java.lang.Object implements RoutingTableEntry
Modifier and Type | Method and Description |
---|---|
Address |
getAddress() |
int |
getCost() |
NetIF |
getNetIF() |
void |
setNetIF(NetIF i)
Setter function for network interface
|
java.lang.String |
showTransmitted()
SHow only data transmitted
|
int |
size()
The size in bytes of a RoutingTableEntry.
|
byte[] |
toBytes()
Transform as SimpleRoutingTableEntry into a byte[]
|
java.lang.String |
toString()
Entry represented as string
|
public Address getAddress()
getAddress
in interface RoutingTableEntry
public NetIF getNetIF()
getNetIF
in interface RoutingTableEntry
public void setNetIF(NetIF i)
public int getCost()
getCost
in interface RoutingTableEntry
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