Events are fired whenever a Notifier polls a MobiLink Listener. When an event is fired, the SQL script associated with the event is executed. You can incorporate SQL script into any of the Notifier events listed in this section. Although scripting is optional, you must script the request_cursor polling event.
There are three classifications of Notifier events: polling events, connection events, and asynchronous events. Polling events are fired every time a Notifier checks the consolidated database, and include all the events that occur between a begin_poll event and an end_poll event. Connection events are fired during the Notifier database connection. Asynchronous events can be fired at any time during the synchronization process.
Unless otherwise specified, Notifier events can be configured using any of the recommended methods. For more information about configuring Notifier events, see MobiLink server settings for server-initiated synchronization.
When a MobiLink Listener polls the Notifier, these events are fired in the following order:
Fire begin_connection event For each poll ( Fire begin_poll event Fire shutdown_query event Fire request_cursor event For all requests expired before required confirmation ( Fire error_handler event ) Fire request_delete event Fire end_poll event ) Fire end_connection event
Discuss this page in DocCommentXchange.
|Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0|