@OnMessage
    public void message(String message, Session client)
            throws IOException, EncodeException {
        for (Session peer : peers) {
            peer.getBasicRemote().sendText(message);
        }
    }