- java.lang.Object
-
- swim.mqtt.MqttPacket<Object>
-
- swim.mqtt.MqttSubAckPacket
-
- All Implemented Interfaces:
Debug
public final class MqttSubAckPacket 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 MqttSubAckPacket packetFlags(int packetFlags)
-
packetId
public int packetId()
-
packetId
public MqttSubAckPacket packetId(int packetId)
-
subscriptions
public FingerTrieSeq<MqttSubStatus> subscriptions()
-
subscriptions
public MqttSubAckPacket subscriptions(FingerTrieSeq<MqttSubStatus> subscriptions)
-
subscriptions
public MqttSubAckPacket subscriptions(MqttSubStatus... subscriptions)
-
subscription
public MqttSubAckPacket subscription(MqttSubStatus subscription)
-
mqttEncoder
public Encoder<?,MqttSubAckPacket> mqttEncoder(MqttEncoder mqtt)
- Specified by:
mqttEncoder
in classMqttPacket<Object>
-
encodeMqtt
public Encoder<?,MqttSubAckPacket> 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 MqttSubAckPacket create(int packetFlags, int packetId, FingerTrieSeq<MqttSubStatus> subscriptions)
-
create
public static MqttSubAckPacket create(int packetId, FingerTrieSeq<MqttSubStatus> subscriptions)
-
create
public static MqttSubAckPacket create(int packetId, MqttSubStatus... subscriptions)
-
create
public static MqttSubAckPacket create(int packetId)
-
-