Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » MobiLink - Server Administration » MobiLink server APIs » Direct row handling


Direct downloads

To handle direct downloads:

  1. Register a Java or .NET method for the handle_DownloadData connection event. See handle_DownloadData connection event.

  2. Write a method for the handle_DownloadData synchronization event. In this event you use an instance of DBConnectionContext to get a DownloadData instance for the current synchronization. See:

You can create the entire direct download in the handle_DownloadData synchronization event. Alternatively, you can use other synchronization events to set direct download operations. However, you must create a handle_DownloadData script, even if its method does nothing. If you process the direct download in an event other than handle_DownloadData, the event cannot be before begin_synchronization and cannot be after end_download.

For information about the order of events, see MobiLink complete event model.

 Classes for direct downloads