/** {@inheritDoc} */ public void telephonyMediaEvent(final TelephonyEvent event) { LOGGER.debug("event :" + event); final Collection<TelephonyListener> tmp = new java.util.ArrayList<TelephonyListener>(callControlListeners); for (TelephonyListener listener : tmp) { listener.telephonyCallAnswered(event); } }
/** Inform the {@link TelephonyListener} about an answered event. */ protected void fireAnswerEvent() { final Collection<TelephonyListener> tmp = new java.util.ArrayList<TelephonyListener>(callControlListeners); final TelephonyEvent event = new TelephonyEvent(this, TelephonyEvent.ANSWERED); for (TelephonyListener listener : tmp) { listener.telephonyCallAnswered(event); } }