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