Contents Index upload_ok synchronization parameter user_data synchronization parameter

UltraLite Static Java User's Guide
  Synchronization Parameters Reference
    Synchronization parameters

upload_only synchronization parameter


Function 

Indicates that there should be no downloads in the current synchronization, which can save communication time, especially over slow communication links. When set to true, the client waits for the upload acknowledgement from the MobiLink synchronization server, after which it terminates the synchronization session successfully.

Access methods 

boolean getUploadOnly( )

void setUploadOnly( boolean upload_only )

Default 

The parameter is an optional Boolean value, and by default is false.

Usage 

Set the parameter to true as follows:

UlSynchOptions opts = new UlSynchOptions;
opts.setUploadOnly( true );
See also 

Synchronizing high-priority changes

download_only synchronization parameter


Contents Index upload_ok synchronization parameter user_data synchronization parameter