Set the value of host and port for the connection.
Syntax
public
void
setConnectionProfile
(
boolean
isHttpRequest
,
String
host
,
String
port
,
String
relayserverURLTemplate
,
String
farmID
)
Parameters
-
isHttpRequest –
-
host –
-
port –
-
relayserverURLTemplate –
URL Template of Relay server
-
farmID –
Farm ID of the relay server
Example 1
clientConnection.setConnectionProfile(true,<Host>,<port>, <Relay server URL template>, <Relay server Farm Id>);