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

SAP Sybase SQL Anywhere 16.0 » Mobile Link サーバ起動同期 » サーバ起動同期の Mobile Link サーバ設定

 

Notifier イベント

イベントは、Notifier が Mobile Link Listener をポーリングするたびに起動されます。イベントが起動すると、そのイベントに対応する SQL スクリプトが実行されます。SQL スクリプトは、この項で示すいずれの Notifier イベントに組み込むことができます。スクリプトの実行は任意ですが、request_cursor ポーリングイベントを記述する必要があります。

Notifier イベントは、ポーリングイベント、接続イベント、非同期イベントの 3 つに分類されます。ポーリングイベントは、Notifier が統合データベースをチェックするたびに起動し、begin_poll イベントと end_poll イベントの間に発生するすべてのイベントが含まれます。接続イベントは、Notifier のデータベース接続中に起動します。非同期イベントは、同期処理中の任意の時点で起動する可能性があります。

特に指定しないかぎり、Notifier イベントはおすすめする方法のいずれかを使用して設定できます。 Notifier イベントの設定の詳細については、サーバ起動同期の Mobile Link サーバ設定を参照してください。

Mobile Link Listener が Notifier をポーリングすると、これらのイベントが次の順序で起動します。



Fire begin_connection event
For each poll (
    Fire begin_poll event
        Fire shutdown_query event
        Fire request_cursor event
        For all requests expired before required confirmation (
            Fire error_handler event
        )   
        Fire request_delete event
    Fire end_poll event
)
Fire end_connection event

ポーリング中のイベント
接続イベント
非同期イベント