Package io.vertx.mutiny.mqtt.messages
Class MqttConnAckMessage
java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttConnAckMessage
- All Implemented Interfaces:
MutinyDelegate
Represents an MQTT CONNACK message
NOTE: This class has been automatically generated from the
original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMqttConnAckMessage
(io.vertx.mqtt.messages.MqttConnAckMessage delegate) MqttConnAckMessage
(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.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
io.vertx.mqtt.messages.MqttConnAckMessage
int
hashCode()
boolean
static MqttConnAckMessage
newInstance
(io.vertx.mqtt.messages.MqttConnAckMessage arg) io.netty.handler.codec.mqtt.MqttProperties
toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MqttConnAckMessage
public MqttConnAckMessage(io.vertx.mqtt.messages.MqttConnAckMessage delegate) -
MqttConnAckMessage
-
-
Method Details
-
getDelegate
public io.vertx.mqtt.messages.MqttConnAckMessage getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
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
-