|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Pppizza1.Vettoreserver
Constructor Summary | |
Vettoreserver()
|
|
Vettoreserver(java.lang.String posvet)
Crea un vettore di Server mettendo quello con il nome "nomehost" come server corrente lo uso in un server per identificare il mio host |
Method Summary | |
Server |
corrente()
torna il server corrente |
java.lang.String |
indirizzo(int n)
ritorna l'indirizzo del server n |
int |
numero()
restituisce il numero di server nella tabella (conta anche il server corrente) |
int |
numerocorrente()
torna il numero della posizione del server corrente nel vettore server |
void |
stampa()
|
void |
stampa(javax.swing.JTextArea textarea)
|
int |
stato(int n)
stato del server n |
void |
stato(int stat,
int n)
mette lo stato stat nel server n |
void |
stato(java.lang.String stat)
attiva lo stato stat del server nella posizione string |
Server |
torna(int n)
torna il server che nel vettore server è al posto n |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Vettoreserver(java.lang.String posvet)
public Vettoreserver()
Method Detail |
public int numero()
public Server torna(int n)
public int numerocorrente()
public Server corrente()
public void stato(int stat, int n)
public void stato(java.lang.String stat)
public java.lang.String indirizzo(int n)
public int stato(int n)
public void stampa()
public void stampa(javax.swing.JTextArea textarea)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |