Package io.vertx.mutiny.mqtt.messages
Class MqttPubRelMessage
java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttPubRelMessage
- All Implemented Interfaces:
MutinyDelegate
Represents an MQTT PUBREL message
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
MqttPubRelMessage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMqttPubRelMessage(io.vertx.mqtt.messages.MqttPubRelMessage delegate) Create a new instance ofMqttPubRelMessagedelegating to the given (non-null) instance ofMqttPubRelMessage.MqttPubRelMessage(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.mqtt.messages.codes.MqttPubRelReasonCodecode()static MqttPubRelMessagecreate(int messageId, io.vertx.mqtt.messages.codes.MqttPubRelReasonCode code, io.netty.handler.codec.mqtt.MqttProperties properties) Create a concrete instance of a Vert.x pubrel messagebooleanio.vertx.mqtt.messages.MqttPubRelMessageGet the delegate instance.inthashCode()intstatic MqttPubRelMessagenewInstance(io.vertx.mqtt.messages.MqttPubRelMessage delegate) Creates a new instance of theMqttPubRelMessage.io.netty.handler.codec.mqtt.MqttPropertiestoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MqttPubRelMessage
public MqttPubRelMessage(io.vertx.mqtt.messages.MqttPubRelMessage delegate) Create a new instance ofMqttPubRelMessagedelegating to the given (non-null) instance ofMqttPubRelMessage. -
MqttPubRelMessage
-
-
Method Details
-
getDelegate
public io.vertx.mqtt.messages.MqttPubRelMessage 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 MqttPubRelMessage create(int messageId, io.vertx.mqtt.messages.codes.MqttPubRelReasonCode code, io.netty.handler.codec.mqtt.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
public int messageId() -
code
public io.vertx.mqtt.messages.codes.MqttPubRelReasonCode code()- Returns:
- reason code from the pubrel request
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()- Returns:
- MQTT properties
-
newInstance
Creates a new instance of theMqttPubRelMessage. -
hashCode
public int hashCode() -
equals
-
toString
-