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