502503504505506507508509510
* @param newItem the item */ private void notifyObserversItemAdded(ItemIF newItem) { Iterator it = observers.iterator(); while (it.hasNext()) { ChannelObserverIF o = (ChannelObserverIF) it.next(); o.itemAdded(newItem); } }
514515516517518519520521522
* detected. */ private void notifyObserversChannelUpdated() { Iterator it = observers.iterator(); while (it.hasNext()) { ChannelObserverIF o = (ChannelObserverIF) it.next(); o.channelRetrieved(this); } }
666667668669670671672673674
* @param newItem item added. */ public void notifyObserversItemAdded(ItemIF newItem) { Iterator it = observers.iterator(); while (it.hasNext()) { ChannelObserverIF o = (ChannelObserverIF) it.next(); o.itemAdded(newItem); } }
678679680681682683684685686
* detected. */ public void notifyObserversChannelUpdated() { Iterator it = observers.iterator(); while (it.hasNext()) { ChannelObserverIF o = (ChannelObserverIF) it.next(); o.channelRetrieved(this); } }