Contents Index version synchronization parameter ActiveSync parameters pdf/preface.pdf

UltraLite User's Guide
  UltraLite Reference

Synchronization stream parameters


Each synchronization stream has a set of appropriate stream parameters. These parameters set required values for the stream, such as the location of the MobiLink synchronization server, and network-specific control parameters. This section lists the stream parameter values for each stream.

Meaning differs for HotSync and ActiveSync 
For HotSync synchronization, the meaning of the synchronization stream parameters is different than for other streams. For information, see HotSync parameters and ActiveSync parameters.
Setting a stream 

For C/C++ applications, the synchronization stream parameters are supplied in the stream_parms member of the ul_synch_info structure, as a string. The following embedded SQL code is an example for TCP/IP synchronization:

ul_synch_info info;
...
info.stream = ULSocketStream();
info.stream_parms = UL_TEXT( "host=myserver" );

For Java applications, the synchronization stream parameters are supplied using the setStreamParms method. The following example illustrates how to call the method:

UlSynchOptions synch_options = new UlSynchOptions();
synch_opts.setStream( new UlSocketStream() );
synch_opts.setStreamParms( "host=myserver;port=2439" );

For a list of synchronization streams and how to set a synchronization stream, see stream synchronization parameter. For syntax information, see stream_parms synchronization parameter.


ActiveSync parameters
HotSync parameters
TCP/IP stream parameters
HTTP stream parameters
HTTPS stream parameters
UlSecureRSASocketStream synchronization parameters
UlSecureSocketStream synchronization parameters

Contents Index version synchronization parameter ActiveSync parameters pdf/preface.pdf