verinec.netsim.util.tables
Class RoutingTable.Entry

java.lang.Object
  extended by verinec.netsim.util.tables.AddressTable.Entry
      extended by verinec.netsim.util.tables.RoutingTable.Entry
All Implemented Interfaces:
Map.Entry
Enclosing class:
RoutingTable

private class RoutingTable.Entry
extends AddressTable.Entry


Field Summary
private  IAddress gateway
           
 
Constructor Summary
RoutingTable.Entry(IPAddressNetmask destination, IAddress iface, IAddress gateway, double creation_time)
          Creates a new AddressTable Entry (@see AddressTable.Entry)
 
Method Summary
 IAddress getGateway()
          gets the Gateway for this entry
 
Methods inherited from class verinec.netsim.util.tables.AddressTable.Entry
getKey, getTime, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

gateway

private IAddress gateway
Constructor Detail

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 address
iface - the interface that is used to send data to the destination address
gateway - 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
Method Detail

getGateway

public IAddress getGateway()
gets the Gateway for this entry

Returns:
the Gateway for this entry

Copyright © 2005 Verinec, DIUF