public class ThreadServer extends Observable implements Runnable
Constructor and Description |
---|
ThreadServer(Cell[][] cells,
Socket sock,
String password,
Observer observer)
Create internaly a new client
|
Modifier and Type | Method and Description |
---|---|
void |
run()
running thread
|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public ThreadServer(Cell[][] cells, Socket sock, String password, Observer observer)
port
- the connection portcells
- the cells we will pass throw networkpassword
- the connection passwordobserver
- the observer class