- java.lang.Object
-
- swim.mqtt.MqttPacket<Object>
-
- swim.mqtt.MqttPubRelPacket
-
- All Implemented Interfaces:
Debug
public final class MqttPubRelPacket extends MqttPacket<Object> implements Debug
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttPubRelPacket
create(int packetId)
static MqttPubRelPacket
create(int packetFlags, int packetId)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.Encoder<?,MqttPubRelPacket>
encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
boolean
equals(Object other)
int
hashCode()
Encoder<?,MqttPubRelPacket>
mqttEncoder(MqttEncoder mqtt)
int
packetFlags()
MqttPubRelPacket
packetFlags(int packetFlags)
int
packetId()
MqttPubRelPacket
packetId(int packetId)
int
packetType()
String
toString()
-
Methods inherited from class swim.mqtt.MqttPacket
encodeMqtt, mqttEncoder
-
-
-
-
Method Detail
-
packetType
public int packetType()
- Specified by:
packetType
in classMqttPacket<Object>
-
packetFlags
public int packetFlags()
- Specified by:
packetFlags
in classMqttPacket<Object>
-
packetFlags
public MqttPubRelPacket packetFlags(int packetFlags)
-
packetId
public int packetId()
-
packetId
public MqttPubRelPacket packetId(int packetId)
-
mqttEncoder
public Encoder<?,MqttPubRelPacket> mqttEncoder(MqttEncoder mqtt)
- Specified by:
mqttEncoder
in classMqttPacket<Object>
-
encodeMqtt
public Encoder<?,MqttPubRelPacket> encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
- Specified by:
encodeMqtt
in classMqttPacket<Object>
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
create
public static MqttPubRelPacket create(int packetFlags, int packetId)
-
create
public static MqttPubRelPacket create(int packetId)
-
-