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