O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15.1. Generic event model

Table 15.1 gives a review of the major roles in a generic event model. Figure 15.1 shows them in a schematic way.

Figure 15.1. Characteristics of the event source, object and consumer in a generic event model.

Table 15.1. Description of different roles in a generic event model
RoleDescription
Event sourceThe object which potentially causes an event to happen – an event can be any special occurrence. The event source provides a way for interested event consumers to register their interest with this event source. The event source typically keeps a list of registered event consumers, so that when the event occurs the registered ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required