Basic HTML version of Foils prepared Sept 23 97

Foil 35 Observer/Observable Model-IV

From Tutorial on Scivis Java Visualization System Rome Lab CIV Review, NAVO Miss. Tutorial -- Sept 24-25 97. by Byeongseob Ki, Scott KLasky


public class svserver extends Observable {
..........
public void receiveMessage(EventMessage msg) {
setChanged(); // sets a flag to indicate that an observable
// change has occurred
notifyObservers(msg); // notifies all observers
}
.............
Code segment of class svserver(Observable)



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Sep 23 1997