Package io.vertx.mqtt.messages
Interface MqttPubCompMessage
-
public interface MqttPubCompMessage
Represents an MQTT PUBCOMP message
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description MqttPubCompReasonCode
code()
static MqttPubCompMessage
create(int messageId, MqttPubCompReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x pubcomp messageint
messageId()
MqttProperties
properties()
-
-
-
Method Detail
-
create
static MqttPubCompMessage create(int messageId, MqttPubCompReasonCode code, MqttProperties properties)
Create a concrete instance of a Vert.x pubcomp message- Parameters:
messageId
- message Idcode
- return code from the pubcompproperties
- MQTT properties of the pubcomp message- Returns:
-
messageId
int messageId()
-
code
MqttPubCompReasonCode code()
- Returns:
- reason code from the pubcomp message
-
properties
MqttProperties properties()
- Returns:
- MQTT properties
-
-