Class fi.hut.tcm.jacob.tcpip.TcpipInterfaceTable
java.lang.Object
|
+--fi.hut.tcm.jacob.tcpip.TcpipInterfaceTable
- public class TcpipInterfaceTable
- extends java.lang.Object
TcpipInterfaceTable
The InterfaceTable contains the following information for each existing
network interface:
Interface name (Interface1, Interface2, ...)
IP address(es) and netmask
MTU
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
PARSE_ID
protected static final int PARSE_ID
PARSE_ETHDIGIT
protected static final int PARSE_ETHDIGIT
PARSE_ETHDOT
protected static final int PARSE_ETHDOT
PARSE_MTU
protected static final int PARSE_MTU
PARSE_IPDIGIT
protected static final int PARSE_IPDIGIT
PARSE_IPDOT
protected static final int PARSE_IPDOT
TcpipInterfaceTable
public TcpipInterfaceTable()
TcpipInterfaceTable
public TcpipInterfaceTable(java.lang.String configFilename)
throws java.io.IOException,
java.lang.IllegalArgumentException
get
public TcpipInterfaceEntry get(int ipAddr)
get
public TcpipInterfaceEntry get(java.lang.String id)
listEntries
public java.util.Enumeration listEntries()
printEntries
public void printEntries()
addEntry
public TcpipInterfaceEntry addEntry(TcpipInterfaceEntry entry)
removeEntry
public TcpipInterfaceEntry removeEntry(java.lang.String id)