public final class MqttPublishVariableHeader
extends java.lang.Object
MqttPublishMessage
构造器和说明 |
---|
MqttPublishVariableHeader(java.lang.String topicName,
int packetId) |
MqttPublishVariableHeader(java.lang.String topicName,
int packetId,
MqttProperties properties) |
限定符和类型 | 方法和说明 |
---|---|
int |
messageId()
已过时。
Use
packetId() instead. |
int |
packetId() |
MqttProperties |
properties() |
java.lang.String |
topicName() |
java.lang.String |
toString() |
public MqttPublishVariableHeader(java.lang.String topicName, int packetId)
public MqttPublishVariableHeader(java.lang.String topicName, int packetId, MqttProperties properties)
public java.lang.String topicName()
@Deprecated public int messageId()
packetId()
instead.public int packetId()
public MqttProperties properties()
public java.lang.String toString()
toString
在类中 java.lang.Object