Package io.rapidw.mqtt.client.v3_1_1
Class MqttConnectionOption
- java.lang.Object
-
- io.rapidw.mqtt.client.v3_1_1.MqttConnectionOption
-
public class MqttConnectionOption extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMqttConnectionOption.MqttConnectionOptionBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttConnectionOption.MqttConnectionOptionBuilderbuilder()byte[]getClientCertificate()java.lang.StringgetClientId()MqttExceptionHandlergetExceptionHandler()java.lang.StringgetHost()longgetKeepAliveSeconds()longgetMqttConnectTimeout()byte[]getPassword()intgetPort()byte[]getServerCertificate()longgetTcpConnectTimeout()java.lang.StringgetUsername()io.rapidw.mqtt.codec.v3_1_1.MqttV311WillgetWill()booleanisCleanSession()
-
-
-
Method Detail
-
builder
public static MqttConnectionOption.MqttConnectionOptionBuilder builder()
-
getHost
public java.lang.String getHost()
-
getPort
public int getPort()
-
getUsername
public java.lang.String getUsername()
-
getPassword
public byte[] getPassword()
-
getWill
public io.rapidw.mqtt.codec.v3_1_1.MqttV311Will getWill()
-
isCleanSession
public boolean isCleanSession()
-
getKeepAliveSeconds
public long getKeepAliveSeconds()
-
getClientId
public java.lang.String getClientId()
-
getServerCertificate
public byte[] getServerCertificate()
-
getClientCertificate
public byte[] getClientCertificate()
-
getTcpConnectTimeout
public long getTcpConnectTimeout()
-
getMqttConnectTimeout
public long getMqttConnectTimeout()
-
getExceptionHandler
public MqttExceptionHandler getExceptionHandler()
-
-