Using Events

JADE maintains lists of objects that have registered an interest in a specific event. When that event occurs, JADE invokes a predefined method for the appropriate object.

JADE uses notifications to send messages to an object that has previously requested a notification response by using the beginNotification, beginClassNotification, beginClassesNotification, beginClassNotificationForIF, beginClassesNotificationForIF, or beginNotificationForIF method.

For more details, see "Beginning a Notification", earlier in this chapter.