Package games.stendhal.server.util
Class Observable
java.lang.Object
java.util.Observable
games.stendhal.server.util.Observable
- Direct Known Subclasses:
Registrator
Wrapper for deprecated java.util.Observable class to prepare
for moving toward something else.
Source: https://developer.classpath.org/doc/java/util/Observable-source.html
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver(Observer o)
void
void
notifyObservers(Object obj)
void
mark Registrator object as changed.Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
-
Constructor Details
-
Observable
public Observable()
-
-
Method Details
-
setChanges
public void setChanges()mark Registrator object as changed. Function was moved from protected (in java.util.Observable) to public zone. -
addObserver
-
deleteObserver
-
notifyObservers
- Overrides:
notifyObservers
in classObservable
-