net.clackrouter.component.simplerouter
Class ARPLookup.CacheEntry
java.lang.Object
net.clackrouter.component.simplerouter.ARPLookup.CacheEntry
- Enclosing class:
- ARPLookup
public class ARPLookup.CacheEntry
- extends java.lang.Object
Data structure representing a single ARP Cache entry
Method Summary |
boolean |
timedOut()
tests if this entry is times out |
java.lang.String |
toString()
|
void |
update()
set last updated time to current time |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mIPAddr
public java.net.InetAddress mIPAddr
mEthAddr
public EthernetAddress mEthAddr
mStayTime
public int mStayTime
mLastUpdate
public long mLastUpdate
ARPLookup.CacheEntry
public ARPLookup.CacheEntry(java.net.InetAddress ipa,
EthernetAddress ea,
int stay)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
timedOut
public boolean timedOut()
- tests if this entry is times out
update
public void update()
- set last updated time to current time