Contents Index Initializing the synchronization options Using transport-layer security from UltraLite Java applications pdf/preface.pdf

UltraLite User's Guide
  Developing UltraLite Java Applications
    Adding synchronization to your application

Initiating synchronization


Once you have initialized the synchronization parameters, and set them to the values needed for your application, you can initiate synchronization using the JdbcConnection.synchronize() method.

The method takes a UlSynchOptions object as argument. The set of calls needed to synchronize is as follows:

UlSynchOptions opts = new UlSynchOptions;
opts.setUserName( "50" );
opts.setScriptVersion( "default" );
opts.setStream( new UlSocketStream() );
opts.setStreamParms( "host=123.45.678.90" );
conn.synchronize( opts );

Contents Index Initializing the synchronization options Using transport-layer security from UltraLite Java applications pdf/preface.pdf