Package io.vertx.mqtt.messages
Interface MqttPubRelMessage
-
public interface MqttPubRelMessage
Represents an MQTT PUBREL message
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract 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 messageint
messageId()
MqttProperties
properties()
-
-
-
Method Detail
-
create
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:
-
messageId
int messageId()
-
code
MqttPubRelReasonCode code()
- Returns:
- reason code from the pubrel request
-
properties
MqttProperties properties()
- Returns:
- MQTT properties
-
-