- java.lang.Object
-
- swim.mqtt.MqttPacket<Object>
-
- swim.mqtt.MqttUnsubscribePacket
-
- All Implemented Interfaces:
Debug
public final class MqttUnsubscribePacket extends MqttPacket<Object> implements Debug
-
-
Method Summary
-
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 MqttUnsubscribePacket packetFlags(int packetFlags)
-
packetId
public int packetId()
-
packetId
public MqttUnsubscribePacket packetId(int packetId)
-
topicNames
public FingerTrieSeq<String> topicNames()
-
topicNames
public MqttUnsubscribePacket topicNames(FingerTrieSeq<String> topicNames)
-
topicNames
public MqttUnsubscribePacket topicNames(String... topicNames)
-
topicName
public MqttUnsubscribePacket topicName(String topicName)
-
mqttEncoder
public Encoder<?,MqttUnsubscribePacket> mqttEncoder(MqttEncoder mqtt)
- Specified by:
mqttEncoder
in classMqttPacket<Object>
-
encodeMqtt
public Encoder<?,MqttUnsubscribePacket> 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 MqttUnsubscribePacket create(int packetFlags, int packetId, FingerTrieSeq<String> topicNames)
-
create
public static MqttUnsubscribePacket create(int packetId, FingerTrieSeq<String> topicNames)
-
create
public static MqttUnsubscribePacket create(int packetId, String... topicNames)
-
create
public static MqttUnsubscribePacket create(int packetId)
-
-