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