A Listener is a program that runs on a device. It receives push notifications from a Notifier and initiates actions. Listeners can upload device tracking information to the consolidated database when using a gateway for server-initiated synchronization.
The following command starts the MobiLink Listener utility for Windows devices:
dblsn -v2 -m -ot dblsn.log -l "poll_connect='host=localhost'; poll_key=sis_user1; poll_every=10; subject=sync; action='start dbmlsync.exe -c eng=rem1;uid=DBA;pwd=sql -ot dbmlsyncOut.txt -qc';" |
This command loads a Listener with verbosity set to level 2, enables message logging, and specifies that the server is located at localhost. The dblsn.log file is truncated before output is written to it. The Listener polls for push notifications every 10 seconds. If the Listener receives a push notification where the subject is named sync, the MobiLink client application is launched.
For more information about Windows Listener command line options, see Listener options for Windows.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |