UltraLite Static Java User's Guide
Synchronization Parameters Reference
Synchronization parameters
Set the MobiLink synchronization stream to use for synchronization.
For more information, see stream_parms synchronization parameter.
ianywhere.ultralite.runtime.UlStream getStream( )
void setStream( ianywhere.ultralite.runtime.UlStream stream )
The parameter has no default value, and must be explicitly set.
UlSynchOptions opts = new UlSynchOptions; opts.setStream(new UlSocketStream() ); opts.setStreamParms( "host=myserver;port=2439" ); // set other options here conn.synchronize( opts );
When the type of stream requires a parameter, pass that parameter using the stream_parms parameter; otherwise, set the stream_parms parameter to null.
The following stream functions are available, but not all are available on all target platforms:
Stream | Description |
---|---|
ActiveSync (not available for static Java) |
ActiveSync synchronization (Windows CE only).
For a list of stream parameters, see ActiveSync parameters. |
UlHTTPStream() |
Synchronize via HTTP.
The HTTP stream uses TCP/IP as its underlying transport. UltraLite applications act as Web browsers and the MobiLink synchronization server acts as a Web server. UltraLite applications send POST requests to send data to the server and GET requests to read data from the server. For a list of stream parameters, see HTTP stream parameters. |
UlHTTPSStream() |
Synchronize via the HTTPS synchronization stream.
The HTTPS stream uses SSL or TLS as its underlying protocol. It operates over Internet protocols (HTTP and TCP/IP). The HTTPS stream requires the use of technology supplied by Certicom. Use of Certicom technology requires that you obtain the separately-licensable SQL Anywhere Studio security option and is subject to export regulations. For more information on this option, see Welcome to SQL Anywhere Studio. For a list of stream parameters, see HTTPS stream parameters. |
UlSocketStream() |
Synchronize via TCP/IP.
For a list of stream parameters, see TCP/IP stream parameters. |
UlSecureSocketStream() |
TCP/IP or HTTP synchronization with transport-layer security using elliptic curve encryption.
For a list of stream parameters, see UlSecureSocketStream synchronization parameters. |
UlSecureRSASocketStream() |
TCP/IP or HTTP synchronization with transport-layer security using RSA encryption.
For a list of stream parameters, see UlSecureRSASocketStream synchronization parameters.. |
For information on Java synchronization streams, see Initializing the synchronization options.