public interface MqttConnAckMessage
Modifier and Type | Method and Description |
---|---|
io.netty.handler.codec.mqtt.MqttConnectReturnCode |
code() |
static MqttConnAckMessage |
create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code,
boolean isSessionPresent)
Create a concrete instance of a Vert.x connack message
|
static MqttConnAckMessage |
create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code,
boolean isSessionPresent,
io.netty.handler.codec.mqtt.MqttProperties properties)
Create a concrete instance of a Vert.x connack message
|
boolean |
isSessionPresent() |
io.netty.handler.codec.mqtt.MqttProperties |
properties() |
static MqttConnAckMessage create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent)
code
- return code from the connection requestisSessionPresent
- is an old session is presentstatic MqttConnAckMessage create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent, io.netty.handler.codec.mqtt.MqttProperties properties)
code
- return code from the connection requestisSessionPresent
- is an old session is presentproperties
- MQTT propertiesio.netty.handler.codec.mqtt.MqttConnectReturnCode code()
boolean isSessionPresent()
io.netty.handler.codec.mqtt.MqttProperties properties()
Copyright © 2023 Eclipse. All rights reserved.