Class fi.hut.tcm.jacob.tcpip.TcpipInterfaceEntry
java.lang.Object
|
+--fi.hut.tcm.jacob.tcpip.TcpipInterfaceEntry
- public class TcpipInterfaceEntry
- extends java.lang.Object
TcpipInterfaceEntry
Constructor Summary
|
TcpipInterfaceEntry(java.lang.String id,
long ethAddr,
int mtu,
java.util.Vector ipAddrs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
id
protected java.lang.String id
ethAddr
protected long ethAddr
mtu
protected int mtu
ipAddrs
protected java.util.Vector ipAddrs
TcpipInterfaceEntry
public TcpipInterfaceEntry(java.lang.String id,
long ethAddr,
int mtu,
java.util.Vector ipAddrs)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getEthAddr
public long getEthAddr()
setEthAddr
public void setEthAddr(long addr)
setMtu
public void setMtu(int mtu)
getMtu
public int getMtu()
addIpAddr
public void addIpAddr(int addr)
getIpAddrs
public java.util.Vector getIpAddrs()
getDefIpAddr
public int getDefIpAddr()
hasIpAddr
public boolean hasIpAddr(int addr)
removeIpAddr
public void removeIpAddr(int addr)
print
public void print()