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.
For a detailed list of action commands and syntax reference information, see MobiLink Listener action commands for Windows devices.
For more information about incorporating action variables into an action, see Action variables.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|