1 package org.lsst.ccs.utilities.dispatch;
2
3 /**
4 * An <TT>Observer</TT> that knows that its code should terminate quickly because
5 * it is invoked in sequence by the <TT>SynchronousObservable</TT>.
6 *
7 * @author bernard AMADE
8 */
9 public interface SynchronousObserver<P> {
10 /**
11 * Does not have an <TT>Observable</TT> parameter: use an <TT>Event</TT>
12 * object as "protocol" if you need one.
13 *
14 * @param protocol
15 */
16 public void update(P protocol) ;
17 }