6.1. Event Management Function Overview
This section provides a complete reference for the Dialogic Standard Runtime Library (SRL) event management functions.
The SRL event management functions are device independent and provide applications with asynchronous event management capabilities. The functions are divided into the following categories:
|
Event handling |
|
Event data retrieval |
|
SRL parameter |
|
The event management functions are listed below. Section 6.4. SRL Event Management Function Reference Overview describes each of these functions in detail.
6.1.1. Event Handling Functions
| |
| |
| |
| |
| |
|
You can enable and disable event handlers for specific events on specific devices. You can also enable backup event handlers to serve as contingencies for events that you have not specifically enabled. See Section 2.5. SRL Extended Asynchronous Programming for the hierarchy in which the SRL calls handlers.
In the Asynchronous and Extended Asynchronous programming models, the thread does not receive events until the function sr_waitevt( ) or sr_waitevtEx( ) is called. When an event occurs (or has previously occurred) on the device in sr_waitevt( ), all appropriate event handlers for the event are called before sr_waitevt( ) returns.
See Section 3. Basic SRL Programming Models for information on Asynchronous and Extended Asynchronous programming models.
6.1.2. Event Data Retrieval Functions
| |
| |
| |
|
Event data retrieval functions retrieve information about the current event. This allows data extraction and event processing.
6.1.3. SRL Parameter Functions
| |
| |
| |
| |
|
*These functions are only used with the Cross-Compatibility library.
SRL parameter functions check the status of and set the value of SRL parameters.
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation