public class MqttMessage
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static MqttMessage |
DISCONNECT |
static MqttMessage |
PINGREQ |
static MqttMessage |
PINGRESP |
构造器和说明 |
---|
MqttMessage(MqttFixedHeader mqttFixedHeader) |
MqttMessage(MqttFixedHeader mqttFixedHeader,
java.lang.Object variableHeader) |
MqttMessage(MqttFixedHeader mqttFixedHeader,
java.lang.Object variableHeader,
java.lang.Object payload) |
MqttMessage(MqttFixedHeader mqttFixedHeader,
java.lang.Object variableHeader,
java.lang.Object payload,
DecoderResult decoderResult) |
限定符和类型 | 方法和说明 |
---|---|
DecoderResult |
decoderResult() |
MqttFixedHeader |
fixedHeader() |
java.lang.Object |
payload() |
java.lang.String |
toString() |
java.lang.Object |
variableHeader() |
public static final MqttMessage PINGREQ
public static final MqttMessage PINGRESP
public static final MqttMessage DISCONNECT
public MqttMessage(MqttFixedHeader mqttFixedHeader)
public MqttMessage(MqttFixedHeader mqttFixedHeader, java.lang.Object variableHeader)
public MqttMessage(MqttFixedHeader mqttFixedHeader, java.lang.Object variableHeader, java.lang.Object payload)
public MqttMessage(MqttFixedHeader mqttFixedHeader, java.lang.Object variableHeader, java.lang.Object payload, DecoderResult decoderResult)
public MqttFixedHeader fixedHeader()
public java.lang.Object variableHeader()
public java.lang.Object payload()
public DecoderResult decoderResult()
public java.lang.String toString()
toString
在类中 java.lang.Object