




1.5. SRL Event Management Functions
Event management functions provide an interface to manage events on devices, handling program flow associated with these different modes of application architecture. Application programmers can use event management functions to do the following:
- Utilize asynchronous and/or synchronous functions. An asynchronous function returns immediately to the calling application and returns event notification at some future time. EV_ASYNC is specified in the function's mode. This allows the calling thread to perform further operation while the function completes. A synchronous function blocks the thread until the function completes. EV_SYNC is specified in the function's mode argument.
- Write one program to handle events on several devices.
- Enable or disable application-defined event handlers for a device using the Asynchronous with SRL Callback programming model.
Section 3. Basic SRL Programming Models and Section 5. Advanced SRL Programming Models contain detailed instructions for using the models in application development. Refer to 6. SRL Event Management Functions for a description and complete reference for each of the event management functions.





Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001