Events are fired whenever a Notifier polls a 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 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 |
Polling events
Connection events
Asynchronous events
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |