Writing Monitors for the Event Monitoring Service (December 1999)

8
Contents
5. Writing a Target Application
Target Application Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Processing a Notification Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Processing a Restart Notification Object . . . . . . . . . . . . . . . . . . . . . . . 158
Sample Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162