An event (Event) is used to abstract an activity made by user, a notification made by an application, and an invocation of server push. Thus, the application can handle different kind of notifications and sources with a universal mechanism. By and large, developers can even use the same approach to handle, say, message queues.
In this section we will discuss how to handle events, such as listening, posting and forwarding.
|Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.|