Class ServerInterface
java.lang.Object
|
+----ServerInterface
- class ServerInterface
- extends Object
Cette classe traite la communication avec le serveur
-
currentCommand
-
-
dispatcher
-
-
ServerInterface()
- ServerInterface constructor comment.
-
addCommand(String)
- Reception des commandes de la part du serveur
-
close()
- Fermeture de la connexion
-
sendCommand(String)
- Cette methode permet d'envoyer des commandes au serveur
-
setDispatcher(DispatcherServeur)
- Mise a jour du dispatcher (interface de communication)
currentCommand
private String currentCommand
dispatcher
private DispatcherServeur dispatcher
ServerInterface
public ServerInterface()
- ServerInterface constructor comment.
addCommand
public void addCommand(String command)
- Reception des commandes de la part du serveur
- Parameters:
- command - java.lang.String
close
public void close()
- Fermeture de la connexion
sendCommand
public void sendCommand(String command)
- Cette methode permet d'envoyer des commandes au serveur
- Parameters:
- command - java.lang.String
setDispatcher
public void setDispatcher(DispatcherServeur dispatcher)
- Mise a jour du dispatcher (interface de communication)
- Parameters:
- dispatcher - Dispatcher