Methods' Summary |
lockBroadcasts |
suspends broadcasts to the registered listeners.
|
unlockBroadcasts |
resumes the broadcasts which were suspended by
XBroadcaster::lockBroadcasts().
|
Methods' Details |
lockBroadcasts
- Description
- suspends broadcasts to the registered listeners.
The calls to XBroadcaster::lockBroadcasts() and
XBroadcaster::unlockBroadcasts() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, no broadcasts are
sent to registered listeners.
|
|
unlockBroadcasts
- Description
- resumes the broadcasts which were suspended by
XBroadcaster::lockBroadcasts().
The calls to XBroadcaster::lockBroadcasts() and
XBroadcaster::unlockBroadcasts() may be
nested and even overlapping, but they must be in pairs. While
there is at least one lock remaining, no broadcasts are
sent to registered listeners.
Pending broadcasts will be sent immediately after the last
call to XBroadcaster::lockBroadcasts() is matched
by a call to XBroadcaster::unlockBroadcasts().
An implementation can decide to broadcast all pending notification in
order or batch them in single broadcasts.
|
|
Top of Page
Copyright © 2020, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.