public class MqttPubComp extends MqttAck
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 |
|---|
MqttPubComp(byte info,
byte[] data) |
MqttPubComp(int msgId) |
MqttPubComp(MqttPublish publish) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getVariableHeader() |
getMessageInfo, toStringcreateWireMessage, createWireMessage, decodeUTF8, encodeMBI, encodeMessageId, encodeUTF8, getHeader, getKey, getMessageId, getPayload, getType, isMessageIdRequired, isRetryable, readMBI, setDuplicate, setMessageIdpublic MqttPubComp(byte info,
byte[] data)
throws IOException
IOExceptionpublic MqttPubComp(MqttPublish publish)
public MqttPubComp(int msgId)
protected byte[] getVariableHeader()
throws MqttException
getVariableHeader in class MqttWireMessageMqttExceptionCopyright © 2017 Eclipse Paho. All Rights Reserved.