Previous PageTable Of ContentsHomeIndexNext Page


5.2. Synchronous with SRL Callback Model

The Synchronous with SRL Callback Model combines some of the advantages of both synchronous and asynchronous programming.

Choose this model for an application that needs to execute processing for synchronous Dialogic devices, and that needs to be notified of some asynchronous Dialogic events.

Call the sr_enbhdlr( ) function to enable a callback function that services some asynchronous Dialogic events. As an alternative, you can create your own thread which calls the sr_waitevt( ) function to receive asynchronous Dialogic events.

An example of the Synchronous with SRL Callback model is shown below:


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001