Object connectivity through loosely coupled publish and subscribe events
First Claim
1. A computer-readable storage medium having computer-executable program code stored thereon to implement an object-oriented event communications model for distributing events from a publisher to any subscribers of the events, where a subscriber exposes an outgoing event interface that receives events as calls to methods of the outgoing event interface, the program code comprising:
- code operative to manage a plurality of subscriptions, where a subscription associates an event to the subscriber; and
event distribution code operative in response to issuance of the event so as to retrieve the subscription and issue a method call to the subscriber'"'"'s outgoing event interface to thereby distribute the event to the subscriber associated via the subscription with the event;
wherein a deactivated subscriber is activated by said event distribution code before the method call is issued.
1 Assignment
0 Petitions
Accused Products
Abstract
An object-based event communications system supplies an event distribution object having an outgoing-from-publisher event interface and associated with unique identifiers defined for a publisher that is programmed to fire events by calling a method on the event distribution object'"'"'s outgoing-from-publisher event interface. The event communications system stores subscriptions of subscriber objects to methods of the outgoing-from-publisher event interface. On receiving a call from a publisher to its outgoing-from-publisher interface methods, the event distribution object multi-casts calls to counterpart methods of subscriber objects that have stored subscriptions to the respective outgoing-from-publisher interface methods.
-
Citations
20 Claims
-
1. A computer-readable storage medium having computer-executable program code stored thereon to implement an object-oriented event communications model for distributing events from a publisher to any subscribers of the events, where a subscriber exposes an outgoing event interface that receives events as calls to methods of the outgoing event interface, the program code comprising:
-
code operative to manage a plurality of subscriptions, where a subscription associates an event to the subscriber; and
event distribution code operative in response to issuance of the event so as to retrieve the subscription and issue a method call to the subscriber'"'"'s outgoing event interface to thereby distribute the event to the subscriber associated via the subscription with the event;
wherein a deactivated subscriber is activated by said event distribution code before the method call is issued. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 19, 20)
-
-
10. A method of distributing events from a publisher object to subscriber objects, where subscriber objects expose an outgoing event interface that receives events as calls to methods of the outgoing event interface, the method comprising:
-
managing a plurality of subscriptions, where a subscription associates an event object to a subscriber object;
retrieving a reference to a subscriber object in response to issuance of an event; and
issuing a method call to a retrieved subscriber'"'"'s outgoing event interface to thereby distribute an event to the subscriber object associated via the subscription with the event object;
wherein a deactivated subscriber is activated before the method call is issued to a retrieved subscriber'"'"'s outgoing interface. - View Dependent Claims (11, 12)
-
-
17. An object-oriented event communications system for distributing events from publishers to subscribers of the events, where a subscriber exposes an outgoing event interface that receives events as calls to methods of the outgoing event interface, the system comprising:
-
networked computer devices; and
a distributed application comprising, subscription management code, operative to manage a plurality of subscriptions, where a subscription associates an event to the subscriber, and event distribution code operative response to issuance of the event so as to retrieve the subscription and issue a method call to the subscriber'"'"'s outgoing event interface to thereby distribute the event to the subscriber associated via the subscription with the event;
wherein a deactivated subscriber is activated by said event distribution code before the method call is issued.
-
-
18. A computer-readable data storage medium having stored thereon a subscription data structure representing a relationship of a subscriber object to a subscribeable outgoing-event interface method callable from a publisher to issue an event, the subscription comprising:
-
a datum identifying the subscribeable outgoing-event interface method; and
a datum identifying the subscriber object;
whereby the subscription links calls made on the subscribeable outgoing-event interface method to the subscriber object and the subscription is programmatically requested by other than the subscriber object.
-
Specification