- java.lang.Object
-
- swim.mqtt.MqttPacket<Object>
-
- swim.mqtt.MqttDisconnectPacket
-
- All Implemented Interfaces:
Debug
public final class MqttDisconnectPacket extends MqttPacket<Object> implements Debug
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttDisconnectPacket
create(int packetFlags)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.Encoder<?,MqttDisconnectPacket>
encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
boolean
equals(Object other)
int
hashCode()
Encoder<?,MqttDisconnectPacket>
mqttEncoder(MqttEncoder mqtt)
static MqttDisconnectPacket
packet()
int
packetFlags()
MqttDisconnectPacket
packetFlags(int packetFlags)
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 MqttDisconnectPacket packetFlags(int packetFlags)
-
mqttEncoder
public Encoder<?,MqttDisconnectPacket> mqttEncoder(MqttEncoder mqtt)
- Specified by:
mqttEncoder
in classMqttPacket<Object>
-
encodeMqtt
public Encoder<?,MqttDisconnectPacket> 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
.
-
packet
public static MqttDisconnectPacket packet()
-
create
public static MqttDisconnectPacket create(int packetFlags)
-
-