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)
          Creates a new ARPCacheEntry that can be passed to ARPCache.addEntry to manually add entries to the ARP cache.
protected ARPCacheEntry(byte[] b, int offset)
          Constructor declaration
 
Method Summary
 byte[] getEthernetAddress()
          Method declaration
 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)
Constructor declaration
Parameters:
b -  
offset -  
See Also:

ARPCacheEntry

public ARPCacheEntry(byte[] etherAddr,
                     byte[] ipAddr,
                     boolean s)
              throws AddressException
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()
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: