Configure this event to indicate when a transmission fails or was not confirmed. For example, when a transmission fails, you can use this event to insert a row in an audit table or to send a push notification.
The following table details the parameters that can be captured using the error_handler event:
Script parameter | Type | Description |
---|---|---|
request_option (out) | Integer |
Controls what the Notifier does to the push request after the error handler returns. The output can be one of the following values:
|
error_code (in) | Integer |
Use one of the following values for the error code:
|
request_id (in) | Integer | Identifies the request. |
gateway (in) | Varchar | Specifies the gateway associated with the push request. |
address (in) | Varchar | Specifies the address associated with the push request. |
subject (in) | Varchar | Specifies the subject associated with the push request. |
content (in) | Varchar | Specifies the content associated with the push request. |
This event requires the use of a system procedure. You can not configure this event directly using Sybase Central. See MobiLink server settings for server-initiated synchronization.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |