public abstract class MqttAck extends MqttWireMessage
duplicate, MESSAGE_TYPE_CONNACK, MESSAGE_TYPE_CONNECT, MESSAGE_TYPE_DISCONNECT, MESSAGE_TYPE_PINGREQ, MESSAGE_TYPE_PINGRESP, MESSAGE_TYPE_PUBACK, MESSAGE_TYPE_PUBCOMP, MESSAGE_TYPE_PUBLISH, MESSAGE_TYPE_PUBREC, MESSAGE_TYPE_PUBREL, MESSAGE_TYPE_SUBACK, MESSAGE_TYPE_SUBSCRIBE, MESSAGE_TYPE_UNSUBACK, MESSAGE_TYPE_UNSUBSCRIBE, msgId, STRING_ENCODING
Constructor and Description |
---|
MqttAck(byte type) |
Modifier and Type | Method and Description |
---|---|
protected byte |
getMessageInfo()
Sub-classes should override this to encode the message info.
|
String |
toString() |
createWireMessage, createWireMessage, decodeUTF8, encodeMBI, encodeMessageId, encodeUTF8, getHeader, getKey, getMessageId, getPayload, getType, getVariableHeader, isMessageIdRequired, isRetryable, readMBI, setDuplicate, setMessageId
protected byte getMessageInfo()
MqttWireMessage
getMessageInfo
in class MqttWireMessage
public String toString()
toString
in class MqttWireMessage
Copyright © 2018 Eclipse Paho. All rights reserved.