|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--Client
Lance un thread qui communique avec le client
Field Summary | |
private Moteur_s |
_m
Le moteur serveur |
private Client |
_partie
le thread serveur |
private int[] |
_plateau
Le plateau du jeu |
private int[] |
_reserves
Les reserves des joueurs |
private java.net.Socket |
_s
Socket utilise par le serveur pour communiquer avec le client |
private int |
_tour
indique le tour |
int |
_val_joue
variable utilisee par l'espion pour savoir quel coup a ete joue |
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
Client(java.net.Socket sock,
Moteur_s moteur,
int[] plateau,
int[] reserves,
int tour)
Constructeur du thread serveur, communiquant avec le client |
Method Summary | |
void |
run()
le programme serveur execute dans le thread |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
private java.net.Socket _s
private Moteur_s _m
private int[] _plateau
private int[] _reserves
private int _tour
private Client _partie
public int _val_joue
Constructor Detail |
public Client(java.net.Socket sock, Moteur_s moteur, int[] plateau, int[] reserves, int tour)
Method Detail |
public void run()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |