|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.xenqtt.message.MqttMessage
net.sf.xenqtt.message.DisconnectMessage
public final class DisconnectMessage
The DISCONNECT message is sent from the client to the server to indicate that it is about to close its TCP/IP connection. This allows for a clean disconnection, rather than just dropping the line.
If the client had connected with the clean session flag set, then all previously maintained information about the client will be discarded.
A server should not rely on the client to close the TCP/IP connection after receiving a DISCONNECT.
| Constructor Summary | |
|---|---|
DisconnectMessage()
Used to construct a message for sending |
|
DisconnectMessage(ByteBuffer buffer)
Used to construct a received message. |
|
| Method Summary |
|---|
| Methods inherited from class net.sf.xenqtt.message.MqttMessage |
|---|
byteBufferToHex, bytesToHex, equals, getMessageType, getQoS, getQoSLevel, getRemainingLength, isAck, isAckable, isDuplicate, isRetain, setDuplicateFlag, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DisconnectMessage(ByteBuffer buffer)
public DisconnectMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||