このレッスンは、受講者がこれまでのすべてのレッスンを終了していることを前提としています。 レッスン 1:統合データベースの設定を参照してください。
このレッスンでは、Mobile Link Listener オプションをテキストファイルに保存してから、コマンドラインでファイル名を指定して dblsn を実行し、Mobile Link Listener を設定します。
次の内容の新しいテキストファイルを作成します。
#---------------------------------- # Verbosity level -v2 # Show notification messages in console and log -m # Polling interval, in seconds -i 3 # Truncate, then write output to dblsn.txt -ot dblsn.txt # MobiLink address and connect parameter for dblsn -x "host=localhost" # Enable device tracking and specify the MobiLink user name. -t+ sis_user1 # Message handlers # Synchronize using dbmlsync -l "subject=sync; action='start dbmlsync.exe -c SERVER=remote1;UID=DBA;PWD=sql -o dbmlsyncOut.txt';" |
このチュートリアルでは、c:\MLsis をサーバー側コンポーネントの作業フォルダーとします。テキストファイルを mydblsn.txt という名前でこのディレクトリに保存します。
Mobile Link Listener を起動します。
コマンドプロンプトで、Mobile Link Listener コマンドファイルのディレクトリに移動します。
次のように入力して Mobile Link Listener を起動します。
dblsn @mydblsn.txt |
Mobile Link Listener がスリープ中であることを示す [MobiLink Listener for Windows] ウィンドウが表示されます。
トラッキング情報が統合データベースにアップロードされると、Mobile Link サーバーメッセージウィンドウに新しいエントリが表示されます。この情報は、Mobile Link Listener と Mobile Link サーバー間の正常な初期通信をリレーします。
レッスン 10:Push 要求の発行に進みます。
![]() |
DocCommentXchange で意見交換できます
|
Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1 |