Package io.vertx.mutiny.mqtt.messages
Class MqttConnAckMessage
- java.lang.Object
-
- io.vertx.mutiny.mqtt.messages.MqttConnAckMessage
-
public class MqttConnAckMessage extends Object
Represents an MQTT CONNACK message NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MqttConnAckMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttConnAckMessage(io.vertx.mqtt.messages.MqttConnAckMessage delegate)
MqttConnAckMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.mqtt.MqttConnectReturnCode
code()
static MqttConnAckMessage
create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent)
static MqttConnAckMessage
create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent, io.netty.handler.codec.mqtt.MqttProperties properties)
boolean
equals(Object o)
io.vertx.mqtt.messages.MqttConnAckMessage
getDelegate()
int
hashCode()
boolean
isSessionPresent()
static MqttConnAckMessage
newInstance(io.vertx.mqtt.messages.MqttConnAckMessage arg)
io.netty.handler.codec.mqtt.MqttProperties
properties()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MqttConnAckMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttConnAckMessage
public MqttConnAckMessage(io.vertx.mqtt.messages.MqttConnAckMessage delegate)
-
MqttConnAckMessage
public MqttConnAckMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.mqtt.messages.MqttConnAckMessage getDelegate()
-
create
public static MqttConnAckMessage create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent)
- Parameters:
code
- return code from the connection requestisSessionPresent
- is an old session is present- Returns:
-
code
public io.netty.handler.codec.mqtt.MqttConnectReturnCode code()
- Returns:
- return code from the connection request
-
isSessionPresent
public boolean isSessionPresent()
- Returns:
- is an old session is present
-
create
public static MqttConnAckMessage create(io.netty.handler.codec.mqtt.MqttConnectReturnCode code, boolean isSessionPresent, io.netty.handler.codec.mqtt.MqttProperties properties)
- Parameters:
code
- return code from the connection requestisSessionPresent
- is an old session is presentproperties
- MQTT properties- Returns:
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()
-
newInstance
public static MqttConnAckMessage newInstance(io.vertx.mqtt.messages.MqttConnAckMessage arg)
-
-