Package io.vertx.rxjava3.mqtt.messages
Class MqttPubRecMessage
- java.lang.Object
-
- io.vertx.rxjava3.mqtt.messages.MqttPubRecMessage
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MqttPubRecMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttPubRecMessage(MqttPubRecMessage delegate)
MqttPubRecMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MqttPubRecReasonCode
code()
static MqttPubRecMessage
create(int messageId, MqttPubRecReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x pubrec messageboolean
equals(Object o)
MqttPubRecMessage
getDelegate()
int
hashCode()
int
messageId()
static MqttPubRecMessage
newInstance(MqttPubRecMessage arg)
MqttProperties
properties()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MqttPubRecMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttPubRecMessage
public MqttPubRecMessage(MqttPubRecMessage delegate)
-
MqttPubRecMessage
public MqttPubRecMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public MqttPubRecMessage getDelegate()
-
messageId
public int messageId()
-
code
public MqttPubRecReasonCode code()
- Returns:
- reason code from the pubrec request
-
create
public static MqttPubRecMessage create(int messageId, MqttPubRecReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x pubrec message- Parameters:
messageId
- message Idcode
- return code from the pubrecproperties
- MQTT properties of the pubrec message- Returns:
-
properties
public MqttProperties properties()
- Returns:
- MQTT properties
-
newInstance
public static MqttPubRecMessage newInstance(MqttPubRecMessage arg)
-
-