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