- java.lang.Object
-
- swim.mqtt.MqttPart
-
- swim.mqtt.MqttPacket<Object>
-
- swim.mqtt.MqttPubRec
-
- All Implemented Interfaces:
Debug
public final class MqttPubRec extends MqttPacket<Object> implements Debug
-
-
Method Summary
Modifier and Type Method Description voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.Encoder<?,MqttPubRec>encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)booleanequals(Object other)static MqttPubRecfrom(int packetId)static MqttPubRecfrom(int packetFlags, int packetId)inthashCode()Encoder<?,MqttPubRec>mqttEncoder(MqttEncoder mqtt)intpacketFlags()MqttPubRecpacketFlags(int packetFlags)intpacketId()MqttPubRecpacketId(int packetId)intpacketType()StringtoString()-
Methods inherited from class swim.mqtt.MqttPart
encodeMqtt, mqttEncoder
-
-
-
-
Method Detail
-
from
public static MqttPubRec from(int packetFlags, int packetId)
-
from
public static MqttPubRec from(int packetId)
-
packetType
public int packetType()
- Specified by:
packetTypein classMqttPacket<Object>
-
packetFlags
public int packetFlags()
- Specified by:
packetFlagsin classMqttPacket<Object>
-
packetFlags
public MqttPubRec packetFlags(int packetFlags)
-
packetId
public int packetId()
-
packetId
public MqttPubRec packetId(int packetId)
-
mqttEncoder
public Encoder<?,MqttPubRec> mqttEncoder(MqttEncoder mqtt)
- Specified by:
mqttEncoderin classMqttPart
-
encodeMqtt
public Encoder<?,MqttPubRec> encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
- Specified by:
encodeMqttin classMqttPart
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-