private void processMessage(ServerMessage message) {
        if (message.getServerCode() == 1) {
            ChatPerson person = (ChatPerson) message.getData();
            System.out.println(person.getName());
        }
    }