Commit 13dc51b1 authored by Jonas Dittrich's avatar Jonas Dittrich
Browse files

renaming interface

parent 093e5507
......@@ -24,9 +24,9 @@ public class ClientHandler extends Thread {
private BufferedReader in;
private PrintWriter out;
private Glue serverGlue;
private HandlerAdapter serverGlue;
public ClientHandler(Socket clientSocket, Glue serverGlue) {
public ClientHandler(Socket clientSocket, HandlerAdapter serverGlue) {
this.clientSocket = clientSocket;
this.serverGlue = serverGlue;
}
......
......@@ -11,7 +11,7 @@ import org.apache.logging.log4j.Logger;
import com.jds.vorkurs.shared.Player;
public class GameServer implements Server, Glue {
public class GameServer implements Server, HandlerAdapter {
private static final Logger LOGGER = LogManager.getLogger(GameServer.class);
private ServerSocket serverSocket;
......
......@@ -2,7 +2,7 @@ package com.jds.vorkurs.server;
import com.jds.vorkurs.shared.Player;
public interface Glue {
public interface HandlerAdapter {
/**
* register a new client on the game Server, generating a unique id for him
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment