SynchronizationProfile

Before synchronizing with Unwired Server, you must configure a client with information for establishing a connection with the Unwired Server where the mobile application has been deployed. The ConnectionProfile class manages that information.

You can configure the synchronization connection profile using the package database class:

ConnectionProfile profile = <PkgName>DB.getSynchronizationProfile();
profile.setServerName( "sup.sybase.com" );
profile.setPortNumber( 2480 );
profile.setNetworkProtocol( “http” );
profile.setDomainName( “default” );
To connect to Unwired Server through Relay Server, set the required parameters with the setNetworkStreamParams method.
profile.setNetworkStreamParams
(“url_suffix=ias_relay_server/client/rs_client.dll/Ryan.SUPFarm”);