public class CONNACK extends Object implements Message
| Constructor and Description |
|---|
CONNACK(ReturnCode returnCode) |
CONNACK(ReturnCode returnCode,
boolean sessionPresent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ReturnCode |
getReturnCode() |
int |
hashCode() |
boolean |
isSessionPresent()
Returns
true if there is already a session present on the
MQTT Broker for a client. |
public CONNACK(ReturnCode returnCode)
public CONNACK(ReturnCode returnCode, boolean sessionPresent)
public ReturnCode getReturnCode()
ReturnCode of the CONNACK messagepublic boolean isSessionPresent()
true if there is already a session present on the
MQTT Broker for a client. Returns Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.