private synchronized void fireCurrentPlaylistRepeatEvent() { PlayerEvent event = new PlayerEvent(this); Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator(); while (itr.hasNext()) { itr.next().currentPlaylistRepeatEvent(event); } }
private synchronized void fireIrCodeChangeEvent() { PlayerEvent event = new PlayerEvent(this); Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator(); while (itr.hasNext()) { itr.next().irCodeChangeEvent(event); } }
private synchronized void fireNumberPlaylistTracksEvent() { PlayerEvent event = new PlayerEvent(this); Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator(); while (itr.hasNext()) { itr.next().numberPlaylistTracksEvent(event); } }