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