Ejemplo n.º 1
0
 /** {@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);
   }
 }
Ejemplo n.º 2
0
 /** 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);
   }
 }