link);
link, "");
    public void run() {        try {            while (true) {                Socket client = listen.accept();                if (client.getInetAddress().getHostAddress().compareTo(                    InetAddress.getByName("localhost").getHostAddress()) == 0){                    try {                        DataInputStream in = new DataInputStream(client.                            getInputStream());                        BufferedReader reader = new BufferedReader(new                            InputStreamReader(in));                        String line = reader.readLine();                        if (line.indexOf("-link=") != -1) {                            String link = getLinkFromReadLine(line);                            if (link != null) {                                ApplejuiceFassade.getInstance().processLink(                                    link);                            }                        }                        else if (line.indexOf("-command=") != -1) {                            String command = line.substring(line.indexOf(                                "-command=") + 9).toLowerCase();                            if (command.startsWith("getajstats")) {                                PrintStream out = new PrintStream(client.                                    getOutputStream());                                out.println(ApplejuiceFassade.getInstance().                                            getStats());                            }                            else if (command.startsWith("getajinfo")) {                                PrintStream out = new PrintStream(client.                                    getOutputStream());                                out.println(ApplejuiceFassade.getInstance().getVersionInformation());                            }                        }                    }                    catch (Exception e) {                        if (logger.isEnabledFor(Level.ERROR)) {                            logger.error(ApplejuiceFassade.ERROR_MESSAGE, e);                        }                        client.close();                        return;                    }                }                else{                    DataInputStream in = new DataInputStream(client.                        getInputStream());                    BufferedReader reader = new BufferedReader(new                        InputStreamReader(in));                    reader.readLine();                    PrintStream out = new PrintStream(client.                        getOutputStream());                    out.println("Fuck you, little bastard !!!");                }                client.close();            }        }        catch (Exception e) {            if (logger.isEnabledFor(Level.ERROR)) {                logger.error(ApplejuiceFassade.ERROR_MESSAGE, e);            }        }    }