Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

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


Field Summary
static int PARSE_ETHDIGIT
           
static int PARSE_ETHDOT
           
static int PARSE_ID
           
static int PARSE_IPDIGIT
           
static int PARSE_IPDOT
           
static int PARSE_MTU
           
 
Constructor Summary
TcpipInterfaceTable()
           
TcpipInterfaceTable(java.lang.String configFilename)
           
 
Method Summary
TcpipInterfaceEntry addEntry(TcpipInterfaceEntry entry)
           
TcpipInterfaceEntry get(int ipAddr)
           
TcpipInterfaceEntry get(java.lang.String id)
           
java.util.Enumeration listEntries()
           
void printEntries()
           
TcpipInterfaceEntry removeEntry(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

TcpipInterfaceTable

public TcpipInterfaceTable()

TcpipInterfaceTable

public TcpipInterfaceTable(java.lang.String configFilename)
                    throws java.io.IOException,
                           java.lang.IllegalArgumentException
Method Detail

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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD