|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mobileservices.isync.ISync
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 |
public static final int OP_DELETE
public static final int OP_INSERT
public static final int OP_UPDATE
public static final int PREF_TRACE
ISyncProvider
,
Constant Field Valuespublic static final int PREF_TIMEOUT
ISyncProvider
,
Constant Field Valuespublic static final int PREF_DEVICE_ID
ISyncProvider
,
Constant Field Valuespublic static final int PREF_PACKET_UP_MAX
PREF_PACKET_UP_MAX is the size from the client to the database/servlet
public static final int PREF_PACKET_DOWN_MAX
The maxiumum size from the database/servlet to the client.
public static final int PREF_CODE_PAGE
ISyncProvider
,
Constant Field Valuespublic static final int PREF_ACCUMULATE_TRACE
ISyncProvider
,
Constant Field Valuespublic static final java.lang.String TRACE_ON
public static final java.lang.String TRACE_OFF
public static final java.lang.String TIMEOUT_NEVER
public static final java.lang.String TIMEOUT_MINIMUM
public static final int RTN_READY
public static final int RTN_SUCCEEDED
public static final int RTN_FAILED
public static final int RTN_CANCELED
public static final int RTN_NOT_FOUND
public static final int RTNCB_DEFAULT
public static final int RTNCB_DONE
public static final int RTNCB_REPLY_NO
public static final int RTNCB_REPLY_YES
public static final int RTNCB_CANCEL
public static final int STATUS_READY
public static final int STATUS_CANCELED
public static final int STATUS_FAILED
public static final int STATUS_COMPLETED
public static final int SUBSTYPE_CONFIG
public static final int SUBSTYPE_FILE
public static final int SUBSTYPE_DB2E
public static final int SUBSTYPE_JDBC
public static final int SUBSTYPE_CUSTOM
public static final int EVTTYPE_INFO
public static final int EVTTYPE_CONFLICT
public static final int EVTTYPE_QUERY
public static final int EVTTYPE_RETRY
public static final int EVTTYPE_ERROR
public static final int EVT_INF_GENERAL
public static final int EVT_INF_SYNC_STARTED
public static final int EVT_INF_PREP_MSG
public static final int EVT_INF_SEND_MSG
public static final int EVT_INF_WAIT_MSG
public static final int EVT_INF_APPLY_MSG
public static final int EVT_INF_CANCELING_SYNC
public static final int EVT_INF_SUBSSET_STARTED
public static final int EVT_INF_SYNCING_SUBS
public static final int EVT_INF_SUBSSET_FAILED
public static final int EVT_INF_SUBSSET_CANCELED
public static final int EVT_INF_SUBSSET_SUCCEEDED
public static final int EVT_INF_SYNC_SUCCEEDED
public static final int EVT_INF_SYNC_FAILED
public static final int EVT_INF_SYNC_CANCELED
public static final int EVT_INF_SYNC_PROG
public static final int EVT_INF_NO_NEW_CHANGE
public static final int EVT_INF_LOGIN_FAILED
public static final int EVT_INF_AFTER_SEND_MSG
public static final int EVT_INF_STATS
public static final int EVT_CFT_REJECT
public static final int EVT_ERR_OPEN_ADAPTER
public static final int EVT_ERR_LOAD_ADAPTER
public static final int EVT_ERR_CLOSE_ADAPTER
public static final int EVT_ERR_AUTHENTICATE_KEY
public static final int EVT_ERR_CLIENT_CRYPTO_FAILED
public static final int EVT_ERR_ENCRYPT_NOT_AVAIL
public static final int EVT_ERR_ENCRYPT_LIB_OPEN
public static final int EVT_ERR_INCOMP_VERSION
public static final int EVT_ERR_SUBS_NOT_FOUND
public static final int EVT_ERR_SUBS_NOT_AVAIL
public static final int EVT_ERR_INVALID_SESSION
EXC_INVALID_SESSION
,
Constant Field Valuespublic static final int EVT_ERR_SYNC_GROUP
public static final int EVT_ERR_REGISTER_DEVICE
public static final int EVT_ERR_SUBSCRIPTION_ALTERED
public static final int EVT_ERR_NET_CONN
EXC_NET_CONNECT
,
Constant Field Valuespublic static final int EVT_ERR_SEND_REQUEST
EXC_NET_SEND
,
Constant Field Valuespublic static final int EVT_ERR_RECV_REPLY
EXC_NET_RECEIVE
,
Constant Field Valuespublic static final int EVT_ERR_RECV_TIMEOUT
EXC_NET_TIMEOUT
,
Constant Field Valuespublic static final int EVT_ERR_RECV_ACK
EXC_NET_RECEIVE
,
Constant Field Valuespublic static final int EVT_ERR_CLOSE_NET_LIB
public static final int EVT_ERR_RESOLVE_HOST
public static final int EVT_ERR_OUT_OF_MEMORY
public static final int EVT_ERR_SERVER_FORBIDDEN
public static final int EVT_ERR_SERVER_NOT_FOUND
public static final int EVT_ERR_SERVER
public static final int EVT_ERR_SERVER_NOT_AVAIL
public static final int EVT_ERR_PROTOCOL_NOT_SUPPORTED
public static final int EVT_ERR_ALLOC_RESOURCE
public static final int EVT_ERR_CONN_DATA_SRC
public static final int EVT_ERR_DCONN_DATA_SRC
public static final int EVT_ERR_NO_DATA
public static final int EVT_ERR_INVALID_USER
public static final int EVT_ERR_SYNC_DISABLED
public static final int EVT_ERR_SERVER_EXCEPTION
public static final int EVT_ERR_MSG_FORMAT
public static final int EVT_ERR_NOT_FOUND
public static final int EVT_ERR_END_OF_DATA
public static final int EVT_ERR_DATA_TOO_LONG
public static final int EVT_ERR_READ_ONLY
public static final int EVT_ERR_OPERATION
public static final int EVT_ERR_UNAUTHORIZED
public static final int EVT_ERR_NOT_AVAIL
public static final int EVT_ERR_SUBSCRIPTION_TARGET
public static final int EVT_ERR_INTERNAL
public static final int EVT_TRY_NET_CONNECT
public static final int EVT_TRY_NET_CONN
public static final int EVT_TRY_NET_SEND
public static final int EVT_TRY_SEND_REQUEST
public static final int EVT_TRY_NET_RECEIVE
public static final int EVT_TRY_RECV_REPLY
public static final int EVT_TRY_NET_TIMEOUT
public static final int EVT_TRY_RECV_TIMEOUT
public static final int EVT_TRY_RECV_ACK
EVT_TRY_NET_RECEIVE
,
Constant Field Valuespublic static final int EVT_TRY_SERVER_AVAIL
public static final int EVT_TRY_SERVER_BUSY
public static final int EVT_QUE_LOGIN
public static final int EVT_QUE_CANCEL_UPON_ERROR
public static final int EVT_QUE_SUBSCRIPTION_TARGET
public static final int EXC_NOT_SUPPORTED
public static final int EXC_NOT_EXIST
public static final int EXC_PREF_UNKNOWN_ID
public static final int EXC_PREF_ERROR
public static final int EXC_TIMEOUT
public static final int EXC_ILLEGAL_ARG
public static final int EXC_ILLEGAL_STATE
public static final int EXC_STORE_IN_USE
public static final int EXC_ILLEGAL_ACCESS
public static final int EXC_INVALID_FORMAT
public static final int EXC_CONFIG_ERROR
public static final int EXC_OUT_OF_BOUNDS
public static final int EXC_CONVERSION_ERROR
public static final int EXC_UNSUPPORTED_ENCODING
public static final int EXC_NO_DATA_FOUND
public static final int EXC_INTERNAL_ERROR
public static final int EXC_CONFIG_SYNC
public static final int EXC_AUTH_FAILED
public static final int EXC_INCOMP_VERSION
public static final int EXC_INVALID_SESSION
public static final int EXC_SYNC_GROUP
public static final int EXC_REGISTER_DEVICE
public static final int EXC_CREATE_IMAGE_WITHOUT_DEVICEID
public static final int EXC_SERVER_FORBIDDEN
public static final int EXC_SERVER_NOT_FOUND
public static final int EXC_SERVER_ERROR
public static final int EXC_SERVER_NOT_AVAIL
public static final int EXC_NET_OPEN_CONN
public static final int EXC_NET_CONNECT
public static final int EXC_NET_SEND
public static final int EXC_NET_RECEIVE
public static final int EXC_NET_TIMEOUT
public static final int EXC_NET_OPEN_LIB
public static final int EXC_NET_DISCONNECT
public static final int EXC_NET_RESOLVE_HOST
public static final int EXC_SERVER_BUSY
public static final int EXC_NET_UNKNOWN
public static final int ROW_CLEAN
public static final int ROW_ADDED
public static final int ROW_CHANGED
public static final int ROW_DELETED
public static final int SERVICETYPE_DB2e
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |