Name : perl-Class-Observable
| |
Version : 2.4.0
| Vendor : Mageia_Org
|
Release : 1.mga9
| Date : 2022-09-05 10:49:23
|
Group : Development/Perl
| Source RPM : perl-Class-Observable-2.4.0-1.mga9.src.rpm
|
Size : 0.05 MB
| |
Packager : tv < tv>
| |
Summary : Allow other classes and objects to respond to events in yours
|
Description :
If you have ever used Java, you may have run across the \'java.util.Observable\' class and the \'java.util.Observer\' interface. With them you can decouple an object from the one or more objects that wish to be notified whenever particular events occur.
These events occur based on a contract with the observed item. They may occur at the beginning, in the middle or end of a method. In addition, the object *knows* that it is being observed. It just does not know how many or what types of objects are doing the observing. It can therefore control when the messages get sent to the observers.
The behavior of the observers is up to you. However, be aware that we do not do any error handling from calls to the observers. If an observer throws a \'die\', it will bubble up to the observed item and require handling there. So be careful.
|
RPM found in directory: /vol/rzm3/linux-mageia/distrib/cauldron/armv7hl/media/core/release |