public final class MqttConnectPayload
extends java.lang.Object
MqttConnectMessage
构造器和说明 |
---|
MqttConnectPayload(java.lang.String clientIdentifier,
MqttProperties willProperties,
java.lang.String willTopic,
byte[] willMessage,
java.lang.String userName,
byte[] password) |
MqttConnectPayload(java.lang.String clientIdentifier,
java.lang.String willTopic,
byte[] willMessage,
java.lang.String userName,
byte[] password) |
MqttConnectPayload(java.lang.String clientIdentifier,
java.lang.String willTopic,
java.lang.String willMessage,
java.lang.String userName,
java.lang.String password)
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
clientIdentifier() |
java.lang.String |
password()
已过时。
use
passwordInBytes() instead |
byte[] |
passwordInBytes() |
java.lang.String |
toString() |
java.lang.String |
userName() |
java.lang.String |
willMessage()
已过时。
use
willMessageInBytes() instead |
byte[] |
willMessageInBytes() |
MqttProperties |
willProperties() |
java.lang.String |
willTopic() |
@Deprecated public MqttConnectPayload(java.lang.String clientIdentifier, java.lang.String willTopic, java.lang.String willMessage, java.lang.String userName, java.lang.String password)
public MqttConnectPayload(java.lang.String clientIdentifier, java.lang.String willTopic, byte[] willMessage, java.lang.String userName, byte[] password)
public MqttConnectPayload(java.lang.String clientIdentifier, MqttProperties willProperties, java.lang.String willTopic, byte[] willMessage, java.lang.String userName, byte[] password)
public java.lang.String clientIdentifier()
public MqttProperties willProperties()
public java.lang.String willTopic()
@Deprecated public java.lang.String willMessage()
willMessageInBytes()
insteadpublic byte[] willMessageInBytes()
public java.lang.String userName()
@Deprecated public java.lang.String password()
passwordInBytes()
insteadpublic byte[] passwordInBytes()
public java.lang.String toString()
toString
在类中 java.lang.Object