Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API reference » SyncParms class


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.

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


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