Contents Index stream_error synchronization parameter upload_ok synchronization parameter pdf/preface.pdf

UltraLite User's Guide
  UltraLite Reference
    Synchronization parameters

stream_parms synchronization parameter


Function 

Sets parameters to configure the synchronization stream.

A semi-colon separated list of parameter assignments. Each assignment is of the form keyword=value, where the allowed sets of keywords depends on the communications protocol.

For more information, see the following sections:

Default 

The parameter is optional, is a string, and by default is null.

C/C++ usage 

For embedded SQL, set the parameter as follows:

ul_synch_info info;
// ...
info.stream_parms= UL_TEXT( "host=myserver;port=2439" );

For the C++ API, set the parameter as follows:

Connection conn;
auto ul_synch_info info;
...
conn.InitSynchInfo( &info );
info.stream+parms = UL_TEXT( "host=myserver;port=2439" )
Java usage 

Set the parameter as follows:

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

Synchronization stream parameters.


Contents Index stream_error synchronization parameter upload_ok synchronization parameter pdf/preface.pdf