Class fi.hut.tcm.jacob.tcpip.TcpipRoutingTable
java.lang.Object
|
+--fi.hut.tcm.jacob.tcpip.TcpipRoutingTable
- public class TcpipRoutingTable
- extends java.lang.Object
TcpipRoutingTable
Returns the next-hop IP based on the destination IP. Contains all the
routing logic.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
PARSE_DIGIT
protected static final int PARSE_DIGIT
PARSE_ID
protected static final int PARSE_ID
PARSE_DOT
protected static final int PARSE_DOT
PARSE_EOL
protected static final int PARSE_EOL
GATEWAY_TAG
protected static java.lang.String GATEWAY_TAG
TcpipRoutingTable
public TcpipRoutingTable()
TcpipRoutingTable
public TcpipRoutingTable(java.lang.String configFilename)
throws java.io.IOException,
java.lang.IllegalArgumentException
get
public TcpipRoutingEntry get(int destIpAddr)
addEntry
public void addEntry(TcpipRoutingEntry entry)
setDefaultGateway
public TcpipRoutingEntry setDefaultGateway(TcpipRoutingEntry entry)
listEntries
public java.util.Enumeration listEntries()
printEntries
public void printEntries()