setLivenessTimeout function

Sets the liveness timeout length, in seconds. The default value is 100 seconds.

Syntax
abstract void SyncParms.setLivenessTimeout(
  int l
) throws ULjException
Parameters
  • l   The new liveness timeout value.

Remarks

The liveness timeout is the length of time the server allows a remote to be idle. If the remote does not communicate with the server for l seconds, the server assumes that the remote has lost the connection, and terminates the sync. The remote automatically sends periodic messages to the server to keep the connection alive.

If a negative value is set, an exception is thrown. The value may be changed by the MobiLink server without notice. This change occurs if the value is set too low or too high.

See also