public interface ComplexObservable
Modifier and Type | Method and Description |
---|---|
void |
beginComplexNotification()
Sets the Observable in complex notification mode.
|
void |
disableNotifications()
Disable the notification of events to registered Observers.
|
void |
enableNotifications()
Enable (default) the notification of events to registered Observers.
|
void |
endComplexNotification()
Ends the complex notification mode.
|
void disableNotifications()
void enableNotifications()
void beginComplexNotification()
void endComplexNotification()
If a observer is a ComplexObserver
, it will be notified with a
single DefaultComplexNotification
instead of each of the notifications.
Some important notes to take into account when calling this method.
Observer
is processing a notification another Observer
is
registered to the source Observable
, it won't get any of the
notifications currently being notified, but future ones.