Event notification in a computer system
First Claim
Patent Images
1. A method for managing event notification in a computer system, comprising the steps of:
- registering at least one event consumer with a registry, the registry being capable of holding a plurality of event consumer registrations, said step of registering event consumers also defining a registration order for the registered event consumers;
registering an ordering value for each registered event consumer with the registry, said step of registering ordering values also defining an event consumer order which differs from the registration order;
registering at least one event producer with the registry;
producing an event using the event producer; and
notifying at least one of the event consumers of the event, said notifying being performed according to the event consumer order.
6 Assignments
0 Petitions
Accused Products
Abstract
A system and method separate the order in which event handlers register from the order in which the event handlers are notified of events. This allows any convenient registration order to be used together with a notification order that corresponds to a network architecture, a memory hierarchy, or another familiar scale. The notification order is determined by the event producers, and therefore may be reversed without re-registering the event handlers. Events may be broadcast, may carry data between event handlers, and may be consumed to prevent further notifications.
-
Citations
20 Claims
-
1. A method for managing event notification in a computer system, comprising the steps of:
-
registering at least one event consumer with a registry, the registry being capable of holding a plurality of event consumer registrations, said step of registering event consumers also defining a registration order for the registered event consumers; registering an ordering value for each registered event consumer with the registry, said step of registering ordering values also defining an event consumer order which differs from the registration order; registering at least one event producer with the registry; producing an event using the event producer; and notifying at least one of the event consumers of the event, said notifying being performed according to the event consumer order. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-readable storage medium having a configuration that represents data and instructions which cause a computer system to perform method steps for managing event notification, the method steps comprising the following:
-
registering at least one event consumer with a registry, the registry being capable of holding a plurality of event consumer registrations, said step of registering event consumers also defining a registration order for the registered event consumers; registering an ordering value for each registered event consumer with the registry, said step of registering ordering values also defining an event consumer order which differs from the registration order; registering at least one event producer with the registry; producing an event using the event producer; and notifying at least one of the event consumers of the event, said notifying being performed according to the event consumer order.
-
-
16. A computer system for managing event notification, the system comprising:
-
at least one computer having a registry; a plurality of event consumers; means for registering each event consumer with the registry, thereby defining a registration order for the registered event consumers; means for registering an ordering value for each registered event consumer with the registry, thereby defining an event consumer order which differs from the registration order; means for registering at least one event producer with the registry; means for producing an event using the event producer; and means for notifying at least one of the event consumers of the event, with notification being performed according to the event consumer order. - View Dependent Claims (17, 18, 19, 20)
-
Specification