Notification of event handlers in broadcast or propagation mode by event management services in a computer system
First Claim
1. A computer system for managing events, said system comprising:
- means for defining a sequence in which a plurality of programs or parts of the same program can receive notification of an event;
means for notifying a first one of the programs or parts in the sequence of the occurrence of the event;
means for receiving an indication from said first program of part whether or not the event notification should be propagated to the next program or part in the sequence;
means for propagating the event notification to said next program or part in the sequence if the indication is to propagate the event notification; and
means for blocking propagation of the event notification to said next program or part in the sequence if the indication is not to propagate the event notification.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer operating system manages events of interest to a plurality of event handlers within respective programs. The event handlers are arranged in a sequence for the purpose of receiving sequential notification of an occurrence of the event. When the event occurs, the first event handler in the sequence is notified, and it then handles the event. Then, the first event handler determines if the second event handler in the sequence should be notified of the event. If so, the second event handler in the sequence receives the event notification, handles the event, and then determines if the third event handler in the sequence should be notified. In this manner, the event notification can be propagated from event handler to event handler in the sequence, but any event handler in the sequence which receives the notification can block subsequent propagation of the event notification. This technique saves processing time in situations where some or all of the event handlers in the sequence (after the first event handler) may not benefit from the event notification; in such a case, the event notification is not propagated to them.
-
Citations
16 Claims
-
1. A computer system for managing events, said system comprising:
-
means for defining a sequence in which a plurality of programs or parts of the same program can receive notification of an event; means for notifying a first one of the programs or parts in the sequence of the occurrence of the event; means for receiving an indication from said first program of part whether or not the event notification should be propagated to the next program or part in the sequence; means for propagating the event notification to said next program or part in the sequence if the indication is to propagate the event notification; and means for blocking propagation of the event notification to said next program or part in the sequence if the indication is not to propagate the event notification. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer implemented method for managing events in a computer system, said method comprising the steps of:
-
defining a sequence in which a plurality of programs or parts of the same program can receive notification of an event; notifying a first one of the programs or parts in the sequence of the occurrence of the event; receiving an indication from said first program or part whether or not the event notification should be propagated to the next program or part in the sequence; propagating the event notification to said next program or part in the sequence if the indication is to propagate the event notification; and blocking propagation of the event notification to said next program or part in the sequence if the indication is not to propagate the event notification. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
Specification