- All Implemented Interfaces:
Debug
-
Method Summary
Modifier and TypeMethodDescriptionbooleancleanSession(boolean cleanSession) clientId()intstatic MqttConnectPacketcreate(int packetFlags, String protocolName, int protocolLevel, int connectFlags, int keepAlive, String clientId, String willTopic, Data willMessage, String username, Data password) static MqttConnectPacket<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.encodeMqtt(OutputBuffer<?> output, MqttEncoder mqtt) booleaninthashCode()intkeepAlive(int keepAlive) mqttEncoder(MqttEncoder mqtt) intpacketFlags(int packetFlags) intpassword()intprotocolLevel(int protocolLevel) protocolName(String protocolName) toString()username()willMessage(Data willMessage) willQoS()booleanwillRetain(boolean willRetain) Methods inherited from class swim.mqtt.MqttPacket
encodeMqtt, mqttEncoder
-
Method Details
-
packetType
public int packetType()- Specified by:
packetTypein classMqttPacket<Object>
-
packetFlags
public int packetFlags()- Specified by:
packetFlagsin classMqttPacket<Object>
-
packetFlags
-
protocolName
-
protocolName
-
protocolLevel
public int protocolLevel() -
protocolLevel
-
connectFlags
public int connectFlags() -
keepAlive
public int keepAlive() -
keepAlive
-
clientId
-
clientId
-
cleanSession
public boolean cleanSession() -
cleanSession
-
willTopic
-
willTopic
-
willMessage
-
willMessage
-
willQoS
-
willQoS
-
willRetain
public boolean willRetain() -
willRetain
-
username
-
username
-
password
-
password
-
mqttEncoder
- Specified by:
mqttEncoderin classMqttPacket<Object>
-
encodeMqtt
- Specified by:
encodeMqttin classMqttPacket<Object>
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
create
-
create
-