|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavaim.Server
public class Server
Classe che contiene l'implementazione del server
Constructor Summary | |
---|---|
Server(int p,
MainInterface m)
Crea una nuova istanza del server |
Method Summary | |
---|---|
void |
run()
Implementazione del metodo run() dell'interfaccia Runnable() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Server(int p, MainInterface m) throws java.io.IOException
p
- Porta su cui aprire il serverm
- Implementazione di MainInterface da cui questo server dipende
java.io.IOException
- Se qualcosa non funziona nella creazione del server. viene lanciata un'eccezione.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |