/** {@inheritDoc} */ @Override public void reconnectingIn(int arg0) { Log.d(TAG, "reconnectingIn"); final int n = mRemoteConnListeners.beginBroadcast(); for (int i = 0; i < n; i++) { IBeemConnectionListener listener = mRemoteConnListeners.getBroadcastItem(i); try { if (listener != null) listener.reconnectingIn(arg0); } catch (RemoteException e) { // The RemoteCallbackList will take care of removing the // dead listeners. Log.w(TAG, "Error while triggering remote connection listeners", e); } } mRemoteConnListeners.finishBroadcast(); }