com.dalsemi.nethack
Class ARPCacheEntry

java.lang.Object
  |
  +--com.dalsemi.nethack.ARPCacheEntry

public class ARPCacheEntry
extends java.lang.Object

Class declaration


Constructor Summary
  ARPCacheEntry(byte[] etherAddr, byte[] ipAddr, boolean s)
          Deprecated. This class will be removed in future releases.
protected ARPCacheEntry(byte[] b, int offset)
          Deprecated. This class will be removed in future releases.
 
Method Summary
 byte[] getEthernetAddress()
          Deprecated. This class will be removed in future releases.
 byte getFlags()
          Method declaration
 byte[] getIPAddress()
          Method declaration
 int getTimeToLive()
          Method declaration
 boolean isPending()
          Method declaration
 boolean isStatic()
          Method declaration
 java.lang.String toString()
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ARPCacheEntry

protected ARPCacheEntry(byte[] b,
                        int offset)
Deprecated. This class will be removed in future releases.
Constructor declaration
Parameters:
b -  
offset -  
See Also:

ARPCacheEntry

public ARPCacheEntry(byte[] etherAddr,
                     byte[] ipAddr,
                     boolean s)
              throws AddressException
Deprecated. This class will be removed in future releases.
Creates a new ARPCacheEntry that can be passed to ARPCache.addEntry to manually add entries to the ARP cache.
Method Detail

getEthernetAddress

public byte[] getEthernetAddress()
Deprecated. This class will be removed in future releases.
Method declaration
Returns:
 
See Also:

getIPAddress

public byte[] getIPAddress()
Method declaration
Returns:
 
See Also:

getFlags

public byte getFlags()
Method declaration
Returns:
 
See Also:

isPending

public boolean isPending()
Method declaration
Returns:
 
See Also:

isStatic

public boolean isStatic()
Method declaration
Returns:
 
See Also:

getTimeToLive

public int getTimeToLive()
Method declaration
Returns:
 
See Also:

toString

public java.lang.String toString()
Method declaration
Returns:
 
Overrides:
toString in class java.lang.Object
See Also: