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

SQL Anywhere 12.0.1 » MobiLink - Server-Initiated Synchronization » Server-initiated synchronization setup » Listeners » Message handlers » Working with message handlers


Initiating actions

When a message matches the conditions of a filter, an action is initiated. For more information about filtering push notifications, see Filtering a message.

Actions can be specified by running the MobiLink Listener with the following syntax:

dblsn ... -l "...;action='action-command command statement'"

The following action commands allow you to perform different tasks when a message is filtered:

  • START   Start an application, and allow it to run in the background.

  • RUN   Run an application and wait for it to complete before receiving more push notifications.

  • POST   Post a window message to a process that is already running. This command can only be used on Windows devices.

  • SOCKET   Send a message to an application using a TCP/IP connection.

  • DBLSN FULL SHUTDOWN   Shut down the MobiLink Listener.

 See also