wftk core: notification method adaptor

[ back to the core ] [ discussion ]

A notification method adaptor is responsible for interfacing with a system used to notify people or other agents about events. This is really, really open-ended. Obvious candidates here are email and line-based logs, but syslogging is also a good possibility, or who knows what?

These are the functions exposed by a notification method adaptor (well, OK, they're not there yet):
0: init   Initialize adaptor instance
1: free   Clean up instance before shutting down
2: info   Return XML describing the adaptor
3: notify XML alert structure
Datasheet for interpretation of values (if any)
Perform the notification


This code and documentation are released under the terms of the GNU license. They are additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly granted under the terms of the GNU license. This presentation was prepared with LPML. Try literate programming. You'll like it.