Event Handler

Event Handler

Event handlers execute whenever a user or server generates an event that is caught by the application. These are also called event “listeners”. User generated events could be anything from a mouse movement or a click to a spoken word. Server generated events would be events like a log service failing or the completion of a database update.

Events are first processed by an event dispatcher. This may call the event handler immediately or wait for more information. Events themselves are a lower-level input. The dispatcher will send these events to the correct handler.

It is possible to create both global level handlers as well as local-scoped handlers in VoiceXML. Within the Plum IVR platform developers are able to create global- and local-scoped handlers for any event that can occur during a call, including fatal errors. Local handlers selectively override global handlers, which allows a generic handler to run when an explicit handler is not needed.

Related links

Related terms

for "Event Handler"

Search Glossary

Term of the Day

Mixed initiative forms are created when both the computer and the human can direct the flow of the phone call. To make a form mixed initiative, it must have one or more form-level grammars.
See also: Grammar