public static final class MqttMessageBuilders.ConnectBuilder
extends java.lang.Object
public MqttMessageBuilders.ConnectBuilder protocolVersion(MqttVersion version)
public MqttMessageBuilders.ConnectBuilder clientId(java.lang.String clientId)
public MqttMessageBuilders.ConnectBuilder cleanSession(boolean cleanSession)
public MqttMessageBuilders.ConnectBuilder keepAlive(int keepAliveSecs)
public MqttMessageBuilders.ConnectBuilder willFlag(boolean willFlag)
public MqttMessageBuilders.ConnectBuilder willQoS(MqttQoS willQos)
public MqttMessageBuilders.ConnectBuilder willTopic(java.lang.String willTopic)
@Deprecated public MqttMessageBuilders.ConnectBuilder willMessage(java.lang.String willMessage)
willMessage(byte[])
insteadpublic MqttMessageBuilders.ConnectBuilder willMessage(byte[] willMessage)
public MqttMessageBuilders.ConnectBuilder willRetain(boolean willRetain)
public MqttMessageBuilders.ConnectBuilder willProperties(MqttProperties willProperties)
public MqttMessageBuilders.ConnectBuilder hasUser(boolean value)
public MqttMessageBuilders.ConnectBuilder hasPassword(boolean value)
public MqttMessageBuilders.ConnectBuilder username(java.lang.String username)
@Deprecated public MqttMessageBuilders.ConnectBuilder password(java.lang.String password)
password(byte[])
insteadpublic MqttMessageBuilders.ConnectBuilder password(byte[] password)
public MqttMessageBuilders.ConnectBuilder properties(MqttProperties properties)
public MqttConnectMessage build()