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