AllExperts > Encyclopedia 
Search      
Find out about volunteering to AllExperts

Event handler: Encyclopedia BETA


Free Encyclopedia
 Index · Browse A-Z  · Questions and Answers ·
Encyclopedia

Browse A-Z
ABCDEFGHIJKLMNOPQRSTUVWXYZNum


License
Disclaimer

 
 
 
 
Free Online Courses
12 Weeks to Weight Loss
Take Charge of Stress
Learn How to Bake
Budgeting 101
Deeper Faith
DIY Fashion Makeover

       MORE E-COURSES
 
   

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z  Misc

Event handler



An event handler is a subroutine in a computer program or operating system that allows handling of asynchronous hardware and software events using a generalized procedural interface (i.e., a computer software process is initiated). "Events" may be considered a form of input in a computer system (e.g., as a signal of some change of state). Events are typically generated by interrupts from hardware devices, software interrupt instructions, e.g., from the operating system, and computer user interfaces. For example, events may include network interface cards requesting service, the clicking of a mouse, a clock or timer reaching some predetermined time, the dragging of a scrollbar within a windowing system, or the pressing of a button on a keyboard. Without event handlers, few computers could operate, as even bootstrap loaders are simple forms of event handlers.

Events may first be processed by an event dispatcher within an operating system. An event dispatcher typically manages the associations between events and event handlers, and may queue event handlers or events for later processing. Event dispatchers may call event handlers directly, or wait for events to be dequeued with information about the handler to be executed.

How any particular event handling system functions is highly dependent on the computer hardware, the operating system, the programming language, and the application program's environment. A programmer will need to consult the documentation provided in order to understand exactly how to use an event handling system. Users typically need only know how the interface to applications, windowing systems, and console terminals function.

See also

*interrupt handler
*Event listener
*Event-driven programming
*Observer pattern

External links

*Write an Event Handler
*A High Level Design of the Sub-Farm Event Handler
*An Events Syntax for XML
* Javadoc documentation
* Java package Javadoc API documentation
* Java package Javadoc API documentation
*Distributed Events and Notifications
*Event order
*Supporting Three Event Models at Once
*Citations from CiteSeer
*Article Another Look at Events by Jasmin Blanchette
*Article Event Handlers and Callback Functions by Sjoerd Visscher



Email this page
About Us | Advertise on This Site | User Agreement | Privacy Policy | Kids' Privacy Policy | Help
About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.
This is the "GNU Free Documentation License" reference article from the English Wikipedia. All text is available under the terms of the GNU Free Documentation License. See also our Disclaimer.