Package io.vertx.mutiny.mqtt.messages
Class MqttPubAckMessage
java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttPubAckMessage
- All Implemented Interfaces:
MutinyDelegate
Represents an MQTT PUBACK message
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
MqttPubAckMessage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMqttPubAckMessage(io.vertx.mqtt.messages.MqttPubAckMessage delegate) Create a new instance ofMqttPubAckMessagedelegating to the given (non-null) instance ofMqttPubAckMessage.MqttPubAckMessage(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.mqtt.messages.codes.MqttPubAckReasonCodecode()static MqttPubAckMessagecreate(int messageId, io.vertx.mqtt.messages.codes.MqttPubAckReasonCode code, io.netty.handler.codec.mqtt.MqttProperties properties) Create a concrete instance of a Vert.x puback messagebooleanio.vertx.mqtt.messages.MqttPubAckMessageGet the delegate instance.inthashCode()intstatic MqttPubAckMessagenewInstance(io.vertx.mqtt.messages.MqttPubAckMessage delegate) Creates a new instance of theMqttPubAckMessage.io.netty.handler.codec.mqtt.MqttPropertiestoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MqttPubAckMessage
public MqttPubAckMessage(io.vertx.mqtt.messages.MqttPubAckMessage delegate) Create a new instance ofMqttPubAckMessagedelegating to the given (non-null) instance ofMqttPubAckMessage. -
MqttPubAckMessage
-
-
Method Details
-
getDelegate
public io.vertx.mqtt.messages.MqttPubAckMessage getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
create
public static MqttPubAckMessage create(int messageId, io.vertx.mqtt.messages.codes.MqttPubAckReasonCode code, io.netty.handler.codec.mqtt.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:
-
messageId
public int messageId() -
code
public io.vertx.mqtt.messages.codes.MqttPubAckReasonCode code()- Returns:
- reason code from the puback request
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()- Returns:
- MQTT properties
-
newInstance
Creates a new instance of theMqttPubAckMessage. -
hashCode
public int hashCode() -
equals
-
toString
-