setMBAServerWithMoreParms method

Provides a quick way to set the synchronization parameters for the MobiLink host and port to those of the M-Business Anywhere server used by the M-Business client.

Syntax
setMBAServerWithMoreParms( String host, String port, String url_suffix, String additional)
Parameters
  • host   The host or IP value of the M-Business Anywhere server. If host is null, UltraLite sets it to the current M-Business Anywhere host.

  • port   The port on which the M-Business Anywhere server is listening. If port is null, UltraLite sets it to the current M-Business Anywhere port value.

  • url_suffix   This corresponds to the url_suffix parameter set in the sync.conf file of M-Business Anywhere.

  • additional   This parameter may contain additional stream parameters that are not covered by the preceding parameters (for example, proxy host, proxy port or security-related parameters). If you need to specify host, port or url_suffix information, you may use the setMBAServer method described in the previous section.

Remarks

Use the MobiLink redirector for M-Business Anywhere to route data to and from the MobiLink server.

This method expands on the capabilities provided by setMBAServer by permitting the user to specify other parameters in an additional parameter.

If you are using one-button synchronization, you must save the synchronization parameters using Connection.saveSyncParms.

For information about configuring M-Business Server to route HTTP database traffic through the M-Business Anywhere Redirector, see M-Business Anywhere Redirector (deprecated).