- java.lang.Object
-
- swim.mqtt.MqttPacket<T>
-
- Direct Known Subclasses:
MqttConnAckPacket
,MqttConnectPacket
,MqttDisconnectPacket
,MqttPingReqPacket
,MqttPingRespPacket
,MqttPubAckPacket
,MqttPubCompPacket
,MqttPublishPacket
,MqttPubRecPacket
,MqttPubRelPacket
,MqttSubAckPacket
,MqttSubscribePacket
,MqttUnsubAckPacket
,MqttUnsubscribePacket
public abstract class MqttPacket<T> extends Object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Encoder<?,?>
encodeMqtt(OutputBuffer<?> output)
abstract Encoder<?,?>
encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
Encoder<?,?>
mqttEncoder()
abstract Encoder<?,?>
mqttEncoder(MqttEncoder mqtt)
abstract int
packetFlags()
abstract int
packetType()
-
-
-
Method Detail
-
packetType
public abstract int packetType()
-
packetFlags
public abstract int packetFlags()
-
mqttEncoder
public abstract Encoder<?,?> mqttEncoder(MqttEncoder mqtt)
-
mqttEncoder
public Encoder<?,?> mqttEncoder()
-
encodeMqtt
public abstract Encoder<?,?> encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt)
-
encodeMqtt
public Encoder<?,?> encodeMqtt(OutputBuffer<?> output)
-
-