public void broadcast(int id, String message)
    {
        for ( ThreadChat th : connections.values() )
        {
            ClientChat cc = th.getClientChat();
            if ( cc != null && cc.getId() != id && cc.isOnline() )
            {
                cc.send(message);
            }
        }
    }