|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KAoSObservable
Defines the operations to register/deregister and notify KAoSObservers interested in updates when the state of this KAoSObservable changes or an event occurs that is associated with the KAoSObservable.
Method Summary | |
---|---|
void |
deregisterObserver(java.lang.String updateType,
java.lang.Object updateCondition,
KAoSObserver observer)
Deregister the given KAoSObserver for the given update type from the registry of observers associated with this KAoSObservable. |
void |
notify(java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
Notify observers interested in the given updateType wiht the given update object. |
void |
registerObserver(java.lang.String updateType,
java.lang.Object updateCondition,
KAoSObserver observer)
Register the given KAoSObserver with this KAoSObservable for updates described by the updateType and updateConstraints. |
Method Detail |
---|
void registerObserver(java.lang.String updateType, java.lang.Object updateCondition, KAoSObserver observer)
updateType
- String indicating type of update the KAoSObserver is interested in.updateCondition
- Object describing the conditions under which to send the update.observer
- KAoSObserver registering with for updates.void deregisterObserver(java.lang.String updateType, java.lang.Object updateCondition, KAoSObserver observer)
updateType
- String indicating type of update the KAoSObserver is no longer interested in.observer
- KAoSObserver deregistering.void notify(java.lang.String updateType, java.lang.Object updateCondition, java.lang.Object update)
updateType
- String describing the type of update to perform.update
- Object containing the update.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |