public class ClientDiscover extends Observable implements Runnable
Modifier and Type | Field and Description |
---|---|
(package private) List<Connections> |
connections
list of connections
|
Modifier and Type | Method and Description |
---|---|
List<Connections> |
findServers(Observer observer)
Find servers through network
|
static ClientDiscover |
getInstance()
The instance of running client discover
|
void |
run() |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
List<Connections> connections
public static ClientDiscover getInstance()
public List<Connections> findServers(Observer observer)
observer
-