verinec.netsim.util.tables
Class RoutingTable.Entry
java.lang.Object
verinec.netsim.util.tables.AddressTable.Entry
verinec.netsim.util.tables.RoutingTable.Entry
- All Implemented Interfaces:
- Map.Entry
- Enclosing class:
- RoutingTable
private class RoutingTable.Entry
- extends AddressTable.Entry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gateway
private IAddress gateway
RoutingTable.Entry
public RoutingTable.Entry(IPAddressNetmask destination,
IAddress iface,
IAddress gateway,
double creation_time)
- Creates a new AddressTable Entry (@see AddressTable.Entry)
- Parameters:
destination - the destination addressiface - the interface that is used to send data to the destination
addressgateway - the gateway to which the data is send (which sends data
itself then to the destination or a further gateway)creation_time - time when the entry was created
getGateway
public IAddress getGateway()
- gets the Gateway for this entry
- Returns:
- the Gateway for this entry