/** * Set a callback invoked by this manager when automatic join on reconnect failed. If failedCallback is not * <code>null</code>,then automatic rejoin get also enabled. * * @param failedCallback the callback. */ public void setAutoJoinFailedCallback(AutoJoinFailedCallback failedCallback) { autoJoinFailedCallback = failedCallback; if (failedCallback != null) { setAutoJoinOnReconnect(true); } }