Package io.vertx.mutiny.mqtt.messages
Class MqttUnsubscribeMessage
java.lang.Object
io.vertx.mutiny.mqtt.messages.MqttUnsubscribeMessage
- All Implemented Interfaces:
MutinyDelegate,MqttMessage
Represents an MQTT UNSUBSCRIBE message
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
MqttUnsubscribeMessage
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.mqtt.messages.MqttMessage
MqttMessage.MqttMessageImpl -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMqttUnsubscribeMessage(io.vertx.mqtt.messages.MqttUnsubscribeMessage delegate) Create a new instance ofMqttUnsubscribeMessagedelegating to the given (non-null) instance ofMqttUnsubscribeMessage.MqttUnsubscribeMessage(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic MqttUnsubscribeMessageCreate a concrete instance of a Vert.x unsubscribe messagebooleanio.vertx.mqtt.messages.MqttUnsubscribeMessageGet the delegate instance.inthashCode()intstatic MqttUnsubscribeMessagenewInstance(io.vertx.mqtt.messages.MqttUnsubscribeMessage delegate) Creates a new instance of theMqttUnsubscribeMessage.io.netty.handler.codec.mqtt.MqttPropertiestopics()toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MqttUnsubscribeMessage
public MqttUnsubscribeMessage(io.vertx.mqtt.messages.MqttUnsubscribeMessage delegate) Create a new instance ofMqttUnsubscribeMessagedelegating to the given (non-null) instance ofMqttUnsubscribeMessage. -
MqttUnsubscribeMessage
-
-
Method Details
-
getDelegate
public io.vertx.mqtt.messages.MqttUnsubscribeMessage 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 interfaceMqttMessage- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
create
public static MqttUnsubscribeMessage create(int messageId, List<String> topics, io.netty.handler.codec.mqtt.MqttProperties properties) Create a concrete instance of a Vert.x unsubscribe message- Parameters:
messageId- message identifiertopics- list of topics to unsubscribeproperties- UNSUBSCRIBE message properties
-
topics
- Returns:
- List of topics to unsubscribe
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()- Returns:
- MQTT properties
-
messageId
public int messageId()- Specified by:
messageIdin interfaceMqttMessage- Returns:
- Message identifier
-
newInstance
public static MqttUnsubscribeMessage newInstance(io.vertx.mqtt.messages.MqttUnsubscribeMessage delegate) Creates a new instance of theMqttUnsubscribeMessage. -
hashCode
public int hashCode() -
equals
-
toString
-