public static final class MqttMessageBuilders.ConnAckPropertiesBuilder
extends java.lang.Object
构造器和说明 |
---|
ConnAckPropertiesBuilder() |
public MqttProperties build()
public MqttMessageBuilders.ConnAckPropertiesBuilder sessionExpiryInterval(long seconds)
public MqttMessageBuilders.ConnAckPropertiesBuilder receiveMaximum(int value)
public MqttMessageBuilders.ConnAckPropertiesBuilder maximumQos(byte value)
public MqttMessageBuilders.ConnAckPropertiesBuilder retainAvailable(boolean retain)
public MqttMessageBuilders.ConnAckPropertiesBuilder maximumPacketSize(long size)
public MqttMessageBuilders.ConnAckPropertiesBuilder assignedClientId(java.lang.String clientId)
public MqttMessageBuilders.ConnAckPropertiesBuilder topicAliasMaximum(int value)
public MqttMessageBuilders.ConnAckPropertiesBuilder reasonString(java.lang.String reason)
public MqttMessageBuilders.ConnAckPropertiesBuilder userProperty(java.lang.String name, java.lang.String value)
public MqttMessageBuilders.ConnAckPropertiesBuilder wildcardSubscriptionAvailable(boolean value)
public MqttMessageBuilders.ConnAckPropertiesBuilder subscriptionIdentifiersAvailable(boolean value)
public MqttMessageBuilders.ConnAckPropertiesBuilder sharedSubscriptionAvailable(boolean value)
public MqttMessageBuilders.ConnAckPropertiesBuilder serverKeepAlive(int seconds)
public MqttMessageBuilders.ConnAckPropertiesBuilder responseInformation(java.lang.String value)
public MqttMessageBuilders.ConnAckPropertiesBuilder serverReference(java.lang.String host)
public MqttMessageBuilders.ConnAckPropertiesBuilder authenticationMethod(java.lang.String methodName)
public MqttMessageBuilders.ConnAckPropertiesBuilder authenticationData(byte[] rawData)