public class ConnectOptions extends Object
Constructor and Description |
---|
ConnectOptions() |
Modifier and Type | Method and Description |
---|---|
String |
buildServerAddress()
Builds the server address.
|
String |
getServerHost()
Gets the serverHost.
|
int |
getServerPort()
Gets the serverPort.
|
SSLContext |
getSslContext()
Gets the sslContext.
|
String |
getThingId()
Gets the thingId.
|
ConnectOptions |
setServerHost(String serverHost)
Sets the serverHost.
|
ConnectOptions |
setServerPort(int serverPort)
Sets the serverPort.
|
ConnectOptions |
setSslContext(SSLContext sslContext)
Sets the sslContext.
|
ConnectOptions |
setThingId(String thingId)
Sets the thingId.
|
public String buildServerAddress()
public String getServerHost()
public int getServerPort()
public SSLContext getSslContext()
public String getThingId()
public ConnectOptions setServerHost(String serverHost)
serverHost
- the serverHost to set.public ConnectOptions setServerPort(int serverPort)
serverPort
- the serverPort to set.public ConnectOptions setSslContext(SSLContext sslContext)
sslContext
- the sslContext to set.public ConnectOptions setThingId(String thingId)
thingId
- the thingId to set.