com.ibm.mobileservices.isync
Class ISync

java.lang.Object
  |
  +--com.ibm.mobileservices.isync.ISync

public class ISync
extends java.lang.Object

This class contains all the constant definitions for ISync.


Field Summary
static int EVT_CFT_REJECT
          2000: Conflict has occurred during synchronization.
static int EVT_ERR_ALLOC_RESOURCE
          400: Failed to allocate resources.
static int EVT_ERR_AUTHENTICATE_KEY
          306: Authentication failed (invalid encryption key) - synchronization aborted.
static int EVT_ERR_CLIENT_CRYPTO_FAILED
          307: Client encryption/decryption failed - synchronization aborted.
static int EVT_ERR_CLOSE_ADAPTER
          302: Failed to close adapter: adapter name.
static int EVT_ERR_CLOSE_NET_LIB
          608: Failed to close Net library.
static int EVT_ERR_CONN_DATA_SRC
          401: Failed to connect target data source.
static int EVT_ERR_DATA_TOO_LONG
          415: Data too long and truncated.
static int EVT_ERR_DCONN_DATA_SRC
          402: Failed to disconnect target data source.
static int EVT_ERR_ENCRYPT_LIB_OPEN
          309: Failed to open encryption library.
static int EVT_ERR_ENCRYPT_NOT_AVAIL
          308: Encryption not available.
static int EVT_ERR_END_OF_DATA
          414: Unexpected end-of-data.
static int EVT_ERR_INCOMP_VERSION
          310: Incompatible Sync Client version.
static int EVT_ERR_INTERNAL
          698: Internal errors.
static int EVT_ERR_INVALID_SESSION
          313: Invalid session.
static int EVT_ERR_INVALID_USER
          416: Server reported authentication error.
static int EVT_ERR_LOAD_ADAPTER
          301: Failed to load adapter: adapter name.
static int EVT_ERR_MSG_FORMAT
          412: Unexpected message format.
static int EVT_ERR_NET_CONN
          601: Failed to establish connection.
static int EVT_ERR_NO_DATA
          403: No data.
static int EVT_ERR_NOT_AVAIL
          424: Requested data not available.
static int EVT_ERR_NOT_FOUND
          413: Requested data not found.
static int EVT_ERR_OPEN_ADAPTER
          300: Failed to open adapter: adapter name.
static int EVT_ERR_OPERATION
          421: Illegal operation on data.
static int EVT_ERR_OUT_OF_MEMORY
          610: Failed to allocate memory.
static int EVT_ERR_PROTOCOL_NOT_SUPPORTED
          615: Protocol (http, https) not supported, as set in ISyncProvider.createSyncService.
static int EVT_ERR_READ_ONLY
          420: Attempt to update read-only data.
static int EVT_ERR_RECV_ACK
          605: Failed to receive acknowledgement.
static int EVT_ERR_RECV_REPLY
          603: Failed to receive reply.
static int EVT_ERR_RECV_TIMEOUT
          604: Timeout while receiving reply.
static int EVT_ERR_REGISTER_DEVICE
          315: Fatal error: Server failed to register this device.
static int EVT_ERR_RESOLVE_HOST
          609: Failed to resolve hostname.
static int EVT_ERR_SEND_REQUEST
          602: Failed to send request.
static int EVT_ERR_SERVER
          613: Server error.
static int EVT_ERR_SERVER_EXCEPTION
          418: Server reported unknown exceptions.
static int EVT_ERR_SERVER_FORBIDDEN
          611: Forbidden to sync to the server.
static int EVT_ERR_SERVER_NOT_AVAIL
          614: Server not responding or not available.
static int EVT_ERR_SERVER_NOT_FOUND
          612: Server not found.
static int EVT_ERR_SUBS_NOT_AVAIL
          312: Subscription subscription name not available or blocked.
static int EVT_ERR_SUBS_NOT_FOUND
          311: Subscription subscription name not found.
static int EVT_ERR_SUBSCRIPTION_ALTERED
          316: Subscription altered.
static int EVT_ERR_SUBSCRIPTION_TARGET
          426: User specified an illegal subscription target value.
static int EVT_ERR_SYNC_DISABLED
          417: Server reported user not enabled.
static int EVT_ERR_SYNC_GROUP
          314: Sync group error.
static int EVT_ERR_UNAUTHORIZED
          423: Not authorized to access target data source.
static int EVT_INF_AFTER_SEND_MSG
          1018: After message sent.
static int EVT_INF_APPLY_MSG
          1005: Applying server message.
static int EVT_INF_CANCELING_SYNC
          1006: Canceling synchronization.
static int EVT_INF_GENERAL
          1000: General information.
static int EVT_INF_LOGIN_FAILED
          1017: Login failed.
static int EVT_INF_NO_NEW_CHANGE
          1016: No new changes.
static int EVT_INF_PREP_MSG
          1002: Preparing message.
static int EVT_INF_SEND_MSG
          1003: Sending message.
static int EVT_INF_STATS
          1019: Statistic reporting event.
static int EVT_INF_SUBSSET_CANCELED
          1010: Subscription set synchronization canceled by user.
static int EVT_INF_SUBSSET_FAILED
          1009: Subscription set synchronization failed.
static int EVT_INF_SUBSSET_STARTED
          1007: Subscription set synchronization started.
static int EVT_INF_SUBSSET_SUCCEEDED
          1011: Subscription set synchronization succeeded.
static int EVT_INF_SYNC_CANCELED
          1014: Synchronization canceled.
static int EVT_INF_SYNC_FAILED
          1013: Synchronization failed.
static int EVT_INF_SYNC_PROG
          1015: Synchronization progress.
static int EVT_INF_SYNC_STARTED
          1001: Synchronization started.
static int EVT_INF_SYNC_SUCCEEDED
          1012: Synchronization succeeded.
static int EVT_INF_SYNCING_SUBS
          1008: Synchronization of name of subscription.
static int EVT_INF_WAIT_MSG
          1004: Awaiting server reply.
static int EVT_QUE_CANCEL_UPON_ERROR
          5002: Inquery if user wants to continue with the synchronization or cancel.
static int EVT_QUE_LOGIN
          5001: Login information required by the adapter.
static int EVT_QUE_SUBSCRIPTION_TARGET
          5003: Ask if user wants a subdirectory for this subscription.
static int EVT_TRY_NET_CONN
           
static int EVT_TRY_NET_CONNECT
          4601: Try to establish connection again.
static int EVT_TRY_NET_RECEIVE
          4603: Try to receive reply again.
static int EVT_TRY_NET_SEND
          4602: Try to retransmit the request.
static int EVT_TRY_NET_TIMEOUT
          4604: Wait longer for receiving reply.
static int EVT_TRY_RECV_ACK
          4605: Try to receive acknowledgement again.
static int EVT_TRY_RECV_REPLY
           
static int EVT_TRY_RECV_TIMEOUT
           
static int EVT_TRY_SEND_REQUEST
           
static int EVT_TRY_SERVER_AVAIL
          4614: Try to contact the server again.
static int EVT_TRY_SERVER_BUSY
          4616: Try to retransmit request when server is busy.
static int EVTTYPE_CONFLICT
          2: Data conflicts in synchronization.
static int EVTTYPE_ERROR
          5: Upon the occurrence of an error, the sync engine cannot continue synchronizing the current subscription set.
static int EVTTYPE_INFO
          1: Information regarding the synchronization progress.
static int EVTTYPE_QUERY
          3: Some information needed to be able to continue synchronization.
static int EVTTYPE_RETRY
          4: Upon the occurrence of an exception, instruction (retry or cancel) is needed to be able to continue synchronization.
static int EXC_AUTH_FAILED
          304: Exception - authentication failed.
static int EXC_CONFIG_ERROR
          15: Exception - config error.
static int EXC_CONFIG_SYNC
          303: Exception - configuration synchronzation failed.
static int EXC_CONVERSION_ERROR
          17: Exception - conversion error.
static int EXC_CREATE_IMAGE_WITHOUT_DEVICEID
           
static int EXC_ILLEGAL_ACCESS
          12: Exception - unauthorized access.
static int EXC_ILLEGAL_ARG
          8: Exception - illegal argument(s).
static int EXC_ILLEGAL_STATE
          9: Exception - illegal state.
static int EXC_INCOMP_VERSION
          310: Exception - incompatible version.
static int EXC_INTERNAL_ERROR
          20: Exception - internal error occurred.
static int EXC_INVALID_FORMAT
          13: Exception - invalid format.
static int EXC_INVALID_SESSION
          313: Exception - invalid session.
static int EXC_NET_CONNECT
          601: Exception - Failed to establish connection.
static int EXC_NET_DISCONNECT
          608: Exception - Connection disconnected.
static int EXC_NET_OPEN_CONN
          600: Exception - Failed to establish network connection.
static int EXC_NET_OPEN_LIB
          606: Exception - failed to open the network library.
static int EXC_NET_RECEIVE
          603: Exception - Failed to receive reply.
static int EXC_NET_RESOLVE_HOST
          609: Exception - unable to resolve hostname.
static int EXC_NET_SEND
          602: Exception - Failed to send request.
static int EXC_NET_TIMEOUT
          604: Exception - Timeout while receiving reply.
static int EXC_NET_UNKNOWN
          699: Exception - unknown network error.
static int EXC_NO_DATA_FOUND
          19: Exception - no data found.
static int EXC_NOT_EXIST
          2: Exception - the target/subscription set specified does not exist.
static int EXC_NOT_SUPPORTED
          1: Exception - this feature is not supported.
static int EXC_OUT_OF_BOUNDS
          16: Exception - out of bounds.
static int EXC_PREF_ERROR
          5: Exception - preference error.
static int EXC_PREF_UNKNOWN_ID
          4: Exception - unknown preference ID provided.
static int EXC_REGISTER_DEVICE
          315: Exception - failed to register the device for the user.
static int EXC_SERVER_BUSY
          616: Exception - Server busy.
static int EXC_SERVER_ERROR
          613: Exception - server error.
static int EXC_SERVER_FORBIDDEN
          611: Exception - forbidden to synchronize to the server.
static int EXC_SERVER_NOT_AVAIL
          614: Exception - server busy or not responding.
static int EXC_SERVER_NOT_FOUND
          612: Exception - server not found.
static int EXC_STORE_IN_USE
          11: Exception - store in use.
static int EXC_SYNC_GROUP
          314: Exception - user does not belong to any sync group.
static int EXC_TIMEOUT
          6: Exception - timeout occurred.
static int EXC_UNSUPPORTED_ENCODING
          18: Exception - this character encoding is not supported by this JVM.
static int OP_DELETE
          Delete operation.
static int OP_INSERT
          Insert operation.
static int OP_UPDATE
          Update operation.
static int PREF_ACCUMULATE_TRACE
          Do not purge trace when syncing multiple times.
static int PREF_CODE_PAGE
          Preference ID for Code page.
static int PREF_DEVICE_ID
          Preference ID to set the device id for this client.
static int PREF_PACKET_DOWN_MAX
           The maxiumum size from the database/servlet to the client.
static int PREF_PACKET_UP_MAX
          Preference ID for desired maximum message size for upload and download between phone and server.
static int PREF_TIMEOUT
          Preference ID for timeout.
static int PREF_TRACE
          Preference ID for enabling tracing.
static int ROW_ADDED
          MIDPISyncProvider only: User added a new row that needs to sync to the server.
static int ROW_CHANGED
          MIDPISyncProvider only: User modified a row that needs to sync to the server.
static int ROW_CLEAN
          MIDPISyncProvider only: This row is unmarked.
static int ROW_DELETED
          MIDPISyncProvider only: User deleted a row that needs to sync to the server.
static int RTN_CANCELED
          Synchronization of the subscription set has been canceled.
static int RTN_FAILED
          Return error.
static int RTN_NOT_FOUND
          Return the specified item was not found.
static int RTN_READY
          The subscription set has been enabled, and synchronization has started, but has not synced the subscription set yet.
static int RTN_SUCCEEDED
          Return successful.
static int RTNCB_CANCEL
          Reply cancel.
static int RTNCB_DEFAULT
          Reply let the engine take the default action.
static int RTNCB_DONE
          Reply done with listener processing(For EVTTYPE_INFO and EVTTYPE_CONFLICT).
static int RTNCB_REPLY_NO
          Reply no.
static int RTNCB_REPLY_YES
          Reply yes.
static int SERVICETYPE_DB2e
          Service type for DB2e Sync Server.
static int STATUS_CANCELED
          Synchronization of the subscription set has been canceled.
static int STATUS_COMPLETED
          Synchronization of the subscription set has succeeded.
static int STATUS_FAILED
          Synchronization of the subscription set has failed.
static int STATUS_READY
          The subscription set has been enabled, and synchronization has started, but has not synchronized the subscription set yet.
static int SUBSTYPE_CONFIG
          Subscription type for configuration.
static int SUBSTYPE_CUSTOM
          Subscription type for custom subscription.
static int SUBSTYPE_DB2E
          Subscription type for DB2e tables (same as SUBSTYPE_JDBC).
static int SUBSTYPE_FILE
          Subscription type for file.
static int SUBSTYPE_JDBC
          Subscription type for tables.
static java.lang.String TIMEOUT_MINIMUM
          Minimum timeout value.
static java.lang.String TIMEOUT_NEVER
          No timeout value.
static java.lang.String TRACE_OFF
          Turn trace off.
static java.lang.String TRACE_ON
          Turn trace on.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OP_DELETE

public static final int OP_DELETE
Delete operation.

See Also:
Constant Field Values

OP_INSERT

public static final int OP_INSERT
Insert operation.

See Also:
Constant Field Values

OP_UPDATE

public static final int OP_UPDATE
Update operation.

See Also:
Constant Field Values

PREF_TRACE

public static final int PREF_TRACE
Preference ID for enabling tracing. (Deprecated Use property version of createSyncService)

See Also:
ISyncProvider, Constant Field Values

PREF_TIMEOUT

public static final int PREF_TIMEOUT
Preference ID for timeout. (Deprecated Use property version of createSyncService)

See Also:
ISyncProvider, Constant Field Values

PREF_DEVICE_ID

public static final int PREF_DEVICE_ID
Preference ID to set the device id for this client. (Deprecated Use property version of createSyncService)

See Also:
ISyncProvider, Constant Field Values

PREF_PACKET_UP_MAX

public static final int PREF_PACKET_UP_MAX
Preference ID for desired maximum message size for upload and download between phone and server. The actual message size may differ from the specified size due to resource constraints.

PREF_PACKET_UP_MAX is the size from the client to the database/servlet

See Also:
Constant Field Values

PREF_PACKET_DOWN_MAX

public static final int PREF_PACKET_DOWN_MAX

The maxiumum size from the database/servlet to the client.

See Also:
Constant Field Values

PREF_CODE_PAGE

public static final int PREF_CODE_PAGE
Preference ID for Code page. (Deprecated Use property version of createSyncService)

See Also:
ISyncProvider, Constant Field Values

PREF_ACCUMULATE_TRACE

public static final int PREF_ACCUMULATE_TRACE
Do not purge trace when syncing multiple times. (Deprecated Use property version of createSyncService)

See Also:
ISyncProvider, Constant Field Values

TRACE_ON

public static final java.lang.String TRACE_ON
Turn trace on.

See Also:
Constant Field Values

TRACE_OFF

public static final java.lang.String TRACE_OFF
Turn trace off.

See Also:
Constant Field Values

TIMEOUT_NEVER

public static final java.lang.String TIMEOUT_NEVER
No timeout value.

See Also:
Constant Field Values

TIMEOUT_MINIMUM

public static final java.lang.String TIMEOUT_MINIMUM
Minimum timeout value.

See Also:
Constant Field Values

RTN_READY

public static final int RTN_READY
The subscription set has been enabled, and synchronization has started, but has not synced the subscription set yet.

See Also:
Constant Field Values

RTN_SUCCEEDED

public static final int RTN_SUCCEEDED
Return successful.

See Also:
Constant Field Values

RTN_FAILED

public static final int RTN_FAILED
Return error.

See Also:
Constant Field Values

RTN_CANCELED

public static final int RTN_CANCELED
Synchronization of the subscription set has been canceled.

See Also:
Constant Field Values

RTN_NOT_FOUND

public static final int RTN_NOT_FOUND
Return the specified item was not found.

See Also:
Constant Field Values

RTNCB_DEFAULT

public static final int RTNCB_DEFAULT
Reply let the engine take the default action.

See Also:
Constant Field Values

RTNCB_DONE

public static final int RTNCB_DONE
Reply done with listener processing(For EVTTYPE_INFO and EVTTYPE_CONFLICT).

See Also:
Constant Field Values

RTNCB_REPLY_NO

public static final int RTNCB_REPLY_NO
Reply no.

See Also:
Constant Field Values

RTNCB_REPLY_YES

public static final int RTNCB_REPLY_YES
Reply yes.

See Also:
Constant Field Values

RTNCB_CANCEL

public static final int RTNCB_CANCEL
Reply cancel.

See Also:
Constant Field Values

STATUS_READY

public static final int STATUS_READY
The subscription set has been enabled, and synchronization has started, but has not synchronized the subscription set yet.

See Also:
Constant Field Values

STATUS_CANCELED

public static final int STATUS_CANCELED
Synchronization of the subscription set has been canceled.

See Also:
Constant Field Values

STATUS_FAILED

public static final int STATUS_FAILED
Synchronization of the subscription set has failed.

See Also:
Constant Field Values

STATUS_COMPLETED

public static final int STATUS_COMPLETED
Synchronization of the subscription set has succeeded.

See Also:
Constant Field Values

SUBSTYPE_CONFIG

public static final int SUBSTYPE_CONFIG
Subscription type for configuration.

See Also:
Constant Field Values

SUBSTYPE_FILE

public static final int SUBSTYPE_FILE
Subscription type for file.

See Also:
Constant Field Values

SUBSTYPE_DB2E

public static final int SUBSTYPE_DB2E
Subscription type for DB2e tables (same as SUBSTYPE_JDBC).

See Also:
Constant Field Values

SUBSTYPE_JDBC

public static final int SUBSTYPE_JDBC
Subscription type for tables.

See Also:
Constant Field Values

SUBSTYPE_CUSTOM

public static final int SUBSTYPE_CUSTOM
Subscription type for custom subscription.

See Also:
Constant Field Values

EVTTYPE_INFO

public static final int EVTTYPE_INFO
1: Information regarding the synchronization progress.

See Also:
Constant Field Values

EVTTYPE_CONFLICT

public static final int EVTTYPE_CONFLICT
2: Data conflicts in synchronization.

See Also:
Constant Field Values

EVTTYPE_QUERY

public static final int EVTTYPE_QUERY
3: Some information needed to be able to continue synchronization. That is, the application is supposed to provide required information (based on the eventCode) that the sync engine can continue.

See Also:
Constant Field Values

EVTTYPE_RETRY

public static final int EVTTYPE_RETRY
4: Upon the occurrence of an exception, instruction (retry or cancel) is needed to be able to continue synchronization.

See Also:
Constant Field Values

EVTTYPE_ERROR

public static final int EVTTYPE_ERROR
5: Upon the occurrence of an error, the sync engine cannot continue synchronizing the current subscription set.

See Also:
Constant Field Values

EVT_INF_GENERAL

public static final int EVT_INF_GENERAL
1000: General information.

See Also:
Constant Field Values

EVT_INF_SYNC_STARTED

public static final int EVT_INF_SYNC_STARTED
1001: Synchronization started.

See Also:
Constant Field Values

EVT_INF_PREP_MSG

public static final int EVT_INF_PREP_MSG
1002: Preparing message.

See Also:
Constant Field Values

EVT_INF_SEND_MSG

public static final int EVT_INF_SEND_MSG
1003: Sending message.

See Also:
Constant Field Values

EVT_INF_WAIT_MSG

public static final int EVT_INF_WAIT_MSG
1004: Awaiting server reply.

See Also:
Constant Field Values

EVT_INF_APPLY_MSG

public static final int EVT_INF_APPLY_MSG
1005: Applying server message.

See Also:
Constant Field Values

EVT_INF_CANCELING_SYNC

public static final int EVT_INF_CANCELING_SYNC
1006: Canceling synchronization.

See Also:
Constant Field Values

EVT_INF_SUBSSET_STARTED

public static final int EVT_INF_SUBSSET_STARTED
1007: Subscription set synchronization started.

See Also:
Constant Field Values

EVT_INF_SYNCING_SUBS

public static final int EVT_INF_SYNCING_SUBS
1008: Synchronization of name of subscription.

See Also:
Constant Field Values

EVT_INF_SUBSSET_FAILED

public static final int EVT_INF_SUBSSET_FAILED
1009: Subscription set synchronization failed.

See Also:
Constant Field Values

EVT_INF_SUBSSET_CANCELED

public static final int EVT_INF_SUBSSET_CANCELED
1010: Subscription set synchronization canceled by user.

See Also:
Constant Field Values

EVT_INF_SUBSSET_SUCCEEDED

public static final int EVT_INF_SUBSSET_SUCCEEDED
1011: Subscription set synchronization succeeded.

See Also:
Constant Field Values

EVT_INF_SYNC_SUCCEEDED

public static final int EVT_INF_SYNC_SUCCEEDED
1012: Synchronization succeeded.

See Also:
Constant Field Values

EVT_INF_SYNC_FAILED

public static final int EVT_INF_SYNC_FAILED
1013: Synchronization failed.

See Also:
Constant Field Values

EVT_INF_SYNC_CANCELED

public static final int EVT_INF_SYNC_CANCELED
1014: Synchronization canceled.

See Also:
Constant Field Values

EVT_INF_SYNC_PROG

public static final int EVT_INF_SYNC_PROG
1015: Synchronization progress.

See Also:
Constant Field Values

EVT_INF_NO_NEW_CHANGE

public static final int EVT_INF_NO_NEW_CHANGE
1016: No new changes.

See Also:
Constant Field Values

EVT_INF_LOGIN_FAILED

public static final int EVT_INF_LOGIN_FAILED
1017: Login failed.

See Also:
Constant Field Values

EVT_INF_AFTER_SEND_MSG

public static final int EVT_INF_AFTER_SEND_MSG
1018: After message sent.

See Also:
Constant Field Values

EVT_INF_STATS

public static final int EVT_INF_STATS
1019: Statistic reporting event.

See Also:
Constant Field Values

EVT_CFT_REJECT

public static final int EVT_CFT_REJECT
2000: Conflict has occurred during synchronization.

See Also:
Constant Field Values

EVT_ERR_OPEN_ADAPTER

public static final int EVT_ERR_OPEN_ADAPTER
300: Failed to open adapter: adapter name.

See Also:
Constant Field Values

EVT_ERR_LOAD_ADAPTER

public static final int EVT_ERR_LOAD_ADAPTER
301: Failed to load adapter: adapter name.

See Also:
Constant Field Values

EVT_ERR_CLOSE_ADAPTER

public static final int EVT_ERR_CLOSE_ADAPTER
302: Failed to close adapter: adapter name.

See Also:
Constant Field Values

EVT_ERR_AUTHENTICATE_KEY

public static final int EVT_ERR_AUTHENTICATE_KEY
306: Authentication failed (invalid encryption key) - synchronization aborted.

See Also:
Constant Field Values

EVT_ERR_CLIENT_CRYPTO_FAILED

public static final int EVT_ERR_CLIENT_CRYPTO_FAILED
307: Client encryption/decryption failed - synchronization aborted.

See Also:
Constant Field Values

EVT_ERR_ENCRYPT_NOT_AVAIL

public static final int EVT_ERR_ENCRYPT_NOT_AVAIL
308: Encryption not available.

See Also:
Constant Field Values

EVT_ERR_ENCRYPT_LIB_OPEN

public static final int EVT_ERR_ENCRYPT_LIB_OPEN
309: Failed to open encryption library.

See Also:
Constant Field Values

EVT_ERR_INCOMP_VERSION

public static final int EVT_ERR_INCOMP_VERSION
310: Incompatible Sync Client version.

See Also:
Constant Field Values

EVT_ERR_SUBS_NOT_FOUND

public static final int EVT_ERR_SUBS_NOT_FOUND
311: Subscription subscription name not found.

See Also:
Constant Field Values

EVT_ERR_SUBS_NOT_AVAIL

public static final int EVT_ERR_SUBS_NOT_AVAIL
312: Subscription subscription name not available or blocked.

See Also:
Constant Field Values

EVT_ERR_INVALID_SESSION

public static final int EVT_ERR_INVALID_SESSION
313: Invalid session. (Deprecated This event is no longer issued; changed to exception.)

See Also:
EXC_INVALID_SESSION, Constant Field Values

EVT_ERR_SYNC_GROUP

public static final int EVT_ERR_SYNC_GROUP
314: Sync group error.

See Also:
Constant Field Values

EVT_ERR_REGISTER_DEVICE

public static final int EVT_ERR_REGISTER_DEVICE
315: Fatal error: Server failed to register this device.

See Also:
Constant Field Values

EVT_ERR_SUBSCRIPTION_ALTERED

public static final int EVT_ERR_SUBSCRIPTION_ALTERED
316: Subscription altered.

See Also:
Constant Field Values

EVT_ERR_NET_CONN

public static final int EVT_ERR_NET_CONN
601: Failed to establish connection. (Deprecated This event is no longer issued; changed to exception.)

See Also:
EXC_NET_CONNECT, Constant Field Values

EVT_ERR_SEND_REQUEST

public static final int EVT_ERR_SEND_REQUEST
602: Failed to send request. (Deprecated This event is no longer issued; changed to exception.)

See Also:
EXC_NET_SEND, Constant Field Values

EVT_ERR_RECV_REPLY

public static final int EVT_ERR_RECV_REPLY
603: Failed to receive reply. (Deprecated This event is no longer issued; changed to exception.)

See Also:
EXC_NET_RECEIVE, Constant Field Values

EVT_ERR_RECV_TIMEOUT

public static final int EVT_ERR_RECV_TIMEOUT
604: Timeout while receiving reply. (Deprecated This event is no longer issued; changed to exception.)

See Also:
EXC_NET_TIMEOUT, Constant Field Values

EVT_ERR_RECV_ACK

public static final int EVT_ERR_RECV_ACK
605: Failed to receive acknowledgement. (Deprecated This event is no longer issued.)

See Also:
EXC_NET_RECEIVE, Constant Field Values

EVT_ERR_CLOSE_NET_LIB

public static final int EVT_ERR_CLOSE_NET_LIB
608: Failed to close Net library.

See Also:
Constant Field Values

EVT_ERR_RESOLVE_HOST

public static final int EVT_ERR_RESOLVE_HOST
609: Failed to resolve hostname.

See Also:
Constant Field Values

EVT_ERR_OUT_OF_MEMORY

public static final int EVT_ERR_OUT_OF_MEMORY
610: Failed to allocate memory.

See Also:
Constant Field Values

EVT_ERR_SERVER_FORBIDDEN

public static final int EVT_ERR_SERVER_FORBIDDEN
611: Forbidden to sync to the server.

See Also:
Constant Field Values

EVT_ERR_SERVER_NOT_FOUND

public static final int EVT_ERR_SERVER_NOT_FOUND
612: Server not found.

See Also:
Constant Field Values

EVT_ERR_SERVER

public static final int EVT_ERR_SERVER
613: Server error.

See Also:
Constant Field Values

EVT_ERR_SERVER_NOT_AVAIL

public static final int EVT_ERR_SERVER_NOT_AVAIL
614: Server not responding or not available.

See Also:
Constant Field Values

EVT_ERR_PROTOCOL_NOT_SUPPORTED

public static final int EVT_ERR_PROTOCOL_NOT_SUPPORTED
615: Protocol (http, https) not supported, as set in ISyncProvider.createSyncService.

See Also:
Constant Field Values

EVT_ERR_ALLOC_RESOURCE

public static final int EVT_ERR_ALLOC_RESOURCE
400: Failed to allocate resources.

See Also:
Constant Field Values

EVT_ERR_CONN_DATA_SRC

public static final int EVT_ERR_CONN_DATA_SRC
401: Failed to connect target data source.

See Also:
Constant Field Values

EVT_ERR_DCONN_DATA_SRC

public static final int EVT_ERR_DCONN_DATA_SRC
402: Failed to disconnect target data source.

See Also:
Constant Field Values

EVT_ERR_NO_DATA

public static final int EVT_ERR_NO_DATA
403: No data.

See Also:
Constant Field Values

EVT_ERR_INVALID_USER

public static final int EVT_ERR_INVALID_USER
416: Server reported authentication error.

See Also:
Constant Field Values

EVT_ERR_SYNC_DISABLED

public static final int EVT_ERR_SYNC_DISABLED
417: Server reported user not enabled.

See Also:
Constant Field Values

EVT_ERR_SERVER_EXCEPTION

public static final int EVT_ERR_SERVER_EXCEPTION
418: Server reported unknown exceptions.

See Also:
Constant Field Values

EVT_ERR_MSG_FORMAT

public static final int EVT_ERR_MSG_FORMAT
412: Unexpected message format.

See Also:
Constant Field Values

EVT_ERR_NOT_FOUND

public static final int EVT_ERR_NOT_FOUND
413: Requested data not found.

See Also:
Constant Field Values

EVT_ERR_END_OF_DATA

public static final int EVT_ERR_END_OF_DATA
414: Unexpected end-of-data.

See Also:
Constant Field Values

EVT_ERR_DATA_TOO_LONG

public static final int EVT_ERR_DATA_TOO_LONG
415: Data too long and truncated.

See Also:
Constant Field Values

EVT_ERR_READ_ONLY

public static final int EVT_ERR_READ_ONLY
420: Attempt to update read-only data.

See Also:
Constant Field Values

EVT_ERR_OPERATION

public static final int EVT_ERR_OPERATION
421: Illegal operation on data.

See Also:
Constant Field Values

EVT_ERR_UNAUTHORIZED

public static final int EVT_ERR_UNAUTHORIZED
423: Not authorized to access target data source.

See Also:
Constant Field Values

EVT_ERR_NOT_AVAIL

public static final int EVT_ERR_NOT_AVAIL
424: Requested data not available.

See Also:
Constant Field Values

EVT_ERR_SUBSCRIPTION_TARGET

public static final int EVT_ERR_SUBSCRIPTION_TARGET
426: User specified an illegal subscription target value.

See Also:
Constant Field Values

EVT_ERR_INTERNAL

public static final int EVT_ERR_INTERNAL
698: Internal errors.

See Also:
Constant Field Values

EVT_TRY_NET_CONNECT

public static final int EVT_TRY_NET_CONNECT
4601: Try to establish connection again.

See Also:
Constant Field Values

EVT_TRY_NET_CONN

public static final int EVT_TRY_NET_CONN
See Also:
Constant Field Values

EVT_TRY_NET_SEND

public static final int EVT_TRY_NET_SEND
4602: Try to retransmit the request.

See Also:
Constant Field Values

EVT_TRY_SEND_REQUEST

public static final int EVT_TRY_SEND_REQUEST
See Also:
Constant Field Values

EVT_TRY_NET_RECEIVE

public static final int EVT_TRY_NET_RECEIVE
4603: Try to receive reply again.

See Also:
Constant Field Values

EVT_TRY_RECV_REPLY

public static final int EVT_TRY_RECV_REPLY
See Also:
Constant Field Values

EVT_TRY_NET_TIMEOUT

public static final int EVT_TRY_NET_TIMEOUT
4604: Wait longer for receiving reply.

See Also:
Constant Field Values

EVT_TRY_RECV_TIMEOUT

public static final int EVT_TRY_RECV_TIMEOUT
See Also:
Constant Field Values

EVT_TRY_RECV_ACK

public static final int EVT_TRY_RECV_ACK
4605: Try to receive acknowledgement again. (Deprecated This event is no longer issued.)

See Also:
EVT_TRY_NET_RECEIVE, Constant Field Values

EVT_TRY_SERVER_AVAIL

public static final int EVT_TRY_SERVER_AVAIL
4614: Try to contact the server again.

See Also:
Constant Field Values

EVT_TRY_SERVER_BUSY

public static final int EVT_TRY_SERVER_BUSY
4616: Try to retransmit request when server is busy.

See Also:
Constant Field Values

EVT_QUE_LOGIN

public static final int EVT_QUE_LOGIN
5001: Login information required by the adapter.

See Also:
Constant Field Values

EVT_QUE_CANCEL_UPON_ERROR

public static final int EVT_QUE_CANCEL_UPON_ERROR
5002: Inquery if user wants to continue with the synchronization or cancel.

See Also:
Constant Field Values

EVT_QUE_SUBSCRIPTION_TARGET

public static final int EVT_QUE_SUBSCRIPTION_TARGET
5003: Ask if user wants a subdirectory for this subscription.

See Also:
Constant Field Values

EXC_NOT_SUPPORTED

public static final int EXC_NOT_SUPPORTED
1: Exception - this feature is not supported.

See Also:
Constant Field Values

EXC_NOT_EXIST

public static final int EXC_NOT_EXIST
2: Exception - the target/subscription set specified does not exist.

See Also:
Constant Field Values

EXC_PREF_UNKNOWN_ID

public static final int EXC_PREF_UNKNOWN_ID
4: Exception - unknown preference ID provided.

See Also:
Constant Field Values

EXC_PREF_ERROR

public static final int EXC_PREF_ERROR
5: Exception - preference error.

See Also:
Constant Field Values

EXC_TIMEOUT

public static final int EXC_TIMEOUT
6: Exception - timeout occurred.

See Also:
Constant Field Values

EXC_ILLEGAL_ARG

public static final int EXC_ILLEGAL_ARG
8: Exception - illegal argument(s).

See Also:
Constant Field Values

EXC_ILLEGAL_STATE

public static final int EXC_ILLEGAL_STATE
9: Exception - illegal state.

See Also:
Constant Field Values

EXC_STORE_IN_USE

public static final int EXC_STORE_IN_USE
11: Exception - store in use.

See Also:
Constant Field Values

EXC_ILLEGAL_ACCESS

public static final int EXC_ILLEGAL_ACCESS
12: Exception - unauthorized access.

See Also:
Constant Field Values

EXC_INVALID_FORMAT

public static final int EXC_INVALID_FORMAT
13: Exception - invalid format.

See Also:
Constant Field Values

EXC_CONFIG_ERROR

public static final int EXC_CONFIG_ERROR
15: Exception - config error.

See Also:
Constant Field Values

EXC_OUT_OF_BOUNDS

public static final int EXC_OUT_OF_BOUNDS
16: Exception - out of bounds.

See Also:
Constant Field Values

EXC_CONVERSION_ERROR

public static final int EXC_CONVERSION_ERROR
17: Exception - conversion error.

See Also:
Constant Field Values

EXC_UNSUPPORTED_ENCODING

public static final int EXC_UNSUPPORTED_ENCODING
18: Exception - this character encoding is not supported by this JVM.

See Also:
Constant Field Values

EXC_NO_DATA_FOUND

public static final int EXC_NO_DATA_FOUND
19: Exception - no data found.

See Also:
Constant Field Values

EXC_INTERNAL_ERROR

public static final int EXC_INTERNAL_ERROR
20: Exception - internal error occurred.

See Also:
Constant Field Values

EXC_CONFIG_SYNC

public static final int EXC_CONFIG_SYNC
303: Exception - configuration synchronzation failed.

See Also:
Constant Field Values

EXC_AUTH_FAILED

public static final int EXC_AUTH_FAILED
304: Exception - authentication failed.

See Also:
Constant Field Values

EXC_INCOMP_VERSION

public static final int EXC_INCOMP_VERSION
310: Exception - incompatible version.

See Also:
Constant Field Values

EXC_INVALID_SESSION

public static final int EXC_INVALID_SESSION
313: Exception - invalid session.

See Also:
Constant Field Values

EXC_SYNC_GROUP

public static final int EXC_SYNC_GROUP
314: Exception - user does not belong to any sync group.

See Also:
Constant Field Values

EXC_REGISTER_DEVICE

public static final int EXC_REGISTER_DEVICE
315: Exception - failed to register the device for the user.

See Also:
Constant Field Values

EXC_CREATE_IMAGE_WITHOUT_DEVICEID

public static final int EXC_CREATE_IMAGE_WITHOUT_DEVICEID
See Also:
Constant Field Values

EXC_SERVER_FORBIDDEN

public static final int EXC_SERVER_FORBIDDEN
611: Exception - forbidden to synchronize to the server.

See Also:
Constant Field Values

EXC_SERVER_NOT_FOUND

public static final int EXC_SERVER_NOT_FOUND
612: Exception - server not found.

See Also:
Constant Field Values

EXC_SERVER_ERROR

public static final int EXC_SERVER_ERROR
613: Exception - server error.

See Also:
Constant Field Values

EXC_SERVER_NOT_AVAIL

public static final int EXC_SERVER_NOT_AVAIL
614: Exception - server busy or not responding.

See Also:
Constant Field Values

EXC_NET_OPEN_CONN

public static final int EXC_NET_OPEN_CONN
600: Exception - Failed to establish network connection.

See Also:
Constant Field Values

EXC_NET_CONNECT

public static final int EXC_NET_CONNECT
601: Exception - Failed to establish connection.

See Also:
Constant Field Values

EXC_NET_SEND

public static final int EXC_NET_SEND
602: Exception - Failed to send request.

See Also:
Constant Field Values

EXC_NET_RECEIVE

public static final int EXC_NET_RECEIVE
603: Exception - Failed to receive reply.

See Also:
Constant Field Values

EXC_NET_TIMEOUT

public static final int EXC_NET_TIMEOUT
604: Exception - Timeout while receiving reply.

See Also:
Constant Field Values

EXC_NET_OPEN_LIB

public static final int EXC_NET_OPEN_LIB
606: Exception - failed to open the network library.

See Also:
Constant Field Values

EXC_NET_DISCONNECT

public static final int EXC_NET_DISCONNECT
608: Exception - Connection disconnected.

See Also:
Constant Field Values

EXC_NET_RESOLVE_HOST

public static final int EXC_NET_RESOLVE_HOST
609: Exception - unable to resolve hostname.

See Also:
Constant Field Values

EXC_SERVER_BUSY

public static final int EXC_SERVER_BUSY
616: Exception - Server busy.

See Also:
Constant Field Values

EXC_NET_UNKNOWN

public static final int EXC_NET_UNKNOWN
699: Exception - unknown network error.

See Also:
Constant Field Values

ROW_CLEAN

public static final int ROW_CLEAN
MIDPISyncProvider only: This row is unmarked.

See Also:
Constant Field Values

ROW_ADDED

public static final int ROW_ADDED
MIDPISyncProvider only: User added a new row that needs to sync to the server.

See Also:
Constant Field Values

ROW_CHANGED

public static final int ROW_CHANGED
MIDPISyncProvider only: User modified a row that needs to sync to the server.

See Also:
Constant Field Values

ROW_DELETED

public static final int ROW_DELETED
MIDPISyncProvider only: User deleted a row that needs to sync to the server.

See Also:
Constant Field Values

SERVICETYPE_DB2e

public static final int SERVICETYPE_DB2e
Service type for DB2e Sync Server.

See Also:
Constant Field Values


(c) Copyright IBM Corp. 2000, 2002 All Rights Reserved.