|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--com.kenmccrary.jtella.HostCache
A cache of the known hosts on the network
| Method Summary | |
void |
addHost(Host host)
Adds a host to the cache |
java.util.List |
getKnownHosts()
Get a list of the Hosts cached |
void |
remove(Host host)
Removes a host from the cache |
void |
removeHost(Host host)
Remove a host from the cache, probably because its not responding |
void |
removeHost(java.lang.String ipAddress,
int port)
Removes a host from the cache |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void addHost(Host host)
ipAddress - internet addressport - port
public void removeHost(java.lang.String ipAddress,
int port)
ipAddress - address of host to removeport - port of host to removepublic void remove(Host host)
host - host to removepublic java.util.List getKnownHosts()
public void removeHost(Host host)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||