Assigning Event Handlers to Events

For each event handler that your application supplies, the application must include a call to the srv_handle function to map the handler to an event. At run time, srv_handle installs the event handler, enabling the ODS Library to locate the event handler code, and assigns the handler to the event you specify.

Open Data Services includes default event handlers that are called when no event handler of the appropriate type has been installed in the Open Data Services server application. Currently, the default event handlers perform no processing and instead simply return to the calling function.