|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucr.core.HostCache
A cache of the known hosts on the network
Field Summary | |
private java.util.Vector |
hosts
|
private int |
poscount
|
Constructor Summary | |
(package private) |
HostCache()
Constructs an empty HostCache |
Method Summary | |
void |
addHost(Host host)
|
java.lang.StringBuffer |
getDumpedHostList()
returns a string representation of the current connections |
java.util.Enumeration |
getHosts()
Get an enumeration of the hosts cached |
java.util.List |
getKnownHosts()
Get a list of the Hosts cached |
(package private) Host |
nextHost()
Get the next host available - workx in a round-robin fashion |
(package private) int |
size()
Query how many hosts are cached |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector hosts
private int poscount
Constructor Detail |
HostCache()
Method Detail |
public void addHost(Host host)
public java.util.List getKnownHosts()
int size()
Host nextHost()
public java.util.Enumeration getHosts()
public java.lang.StringBuffer getDumpedHostList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |