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