setMBAServer 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
setMBAServer( String host, String port, String url_suffix )
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.

Remarks

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

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).