Package io.vertx.mutiny.mqtt.messages
Class MqttDisconnectMessage
- java.lang.Object
-
- io.vertx.mutiny.mqtt.messages.MqttDisconnectMessage
-
public class MqttDisconnectMessage 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<MqttDisconnectMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttDisconnectMessage(io.vertx.mqtt.messages.MqttDisconnectMessage delegate)
MqttDisconnectMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.mqtt.messages.codes.MqttDisconnectReasonCode
code()
static MqttDisconnectMessage
create(io.vertx.mqtt.messages.codes.MqttDisconnectReasonCode code, io.netty.handler.codec.mqtt.MqttProperties properties)
boolean
equals(Object o)
io.vertx.mqtt.messages.MqttDisconnectMessage
getDelegate()
int
hashCode()
static MqttDisconnectMessage
newInstance(io.vertx.mqtt.messages.MqttDisconnectMessage arg)
io.netty.handler.codec.mqtt.MqttProperties
properties()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MqttDisconnectMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttDisconnectMessage
public MqttDisconnectMessage(io.vertx.mqtt.messages.MqttDisconnectMessage delegate)
-
MqttDisconnectMessage
public MqttDisconnectMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.mqtt.messages.MqttDisconnectMessage getDelegate()
-
code
public io.vertx.mqtt.messages.codes.MqttDisconnectReasonCode code()
- Returns:
- return code from the connection request
-
create
public static MqttDisconnectMessage create(io.vertx.mqtt.messages.codes.MqttDisconnectReasonCode code, io.netty.handler.codec.mqtt.MqttProperties properties)
- Parameters:
code
- return code from the disconnect requestproperties
- MQTT properties of the disconnect message- Returns:
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()
- Returns:
- MQTT properties
-
newInstance
public static MqttDisconnectMessage newInstance(io.vertx.mqtt.messages.MqttDisconnectMessage arg)
-
-