Package io.vertx.mutiny.mqtt.messages
Class MqttSubscribeMessage
- java.lang.Object
-
- io.vertx.mutiny.mqtt.messages.MqttSubscribeMessage
-
- All Implemented Interfaces:
MqttMessage
public class MqttSubscribeMessage extends Object implements MqttMessage
Represents an MQTT SUBSCRIBE message NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MqttSubscribeMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttSubscribeMessage(io.vertx.mqtt.messages.MqttSubscribeMessage delegate)
MqttSubscribeMessage(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttSubscribeMessage
create(int messageId, List<io.netty.handler.codec.mqtt.MqttTopicSubscription> topicSubscriptions, io.netty.handler.codec.mqtt.MqttProperties properties)
boolean
equals(Object o)
io.vertx.mqtt.messages.MqttSubscribeMessage
getDelegate()
int
hashCode()
int
messageId()
static MqttSubscribeMessage
newInstance(io.vertx.mqtt.messages.MqttSubscribeMessage arg)
io.netty.handler.codec.mqtt.MqttProperties
properties()
List<MqttTopicSubscription>
topicSubscriptions()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MqttSubscribeMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttSubscribeMessage
public MqttSubscribeMessage(io.vertx.mqtt.messages.MqttSubscribeMessage delegate)
-
MqttSubscribeMessage
public MqttSubscribeMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.mqtt.messages.MqttSubscribeMessage getDelegate()
- Specified by:
getDelegate
in interfaceMqttMessage
-
messageId
public int messageId()
- Specified by:
messageId
in interfaceMqttMessage
- Returns:
- Message identifier
-
topicSubscriptions
public List<MqttTopicSubscription> topicSubscriptions()
- Returns:
- List with topics and related quolity of service levels
-
create
public static MqttSubscribeMessage create(int messageId, List<io.netty.handler.codec.mqtt.MqttTopicSubscription> topicSubscriptions, io.netty.handler.codec.mqtt.MqttProperties properties)
- Parameters:
messageId
- message identifiertopicSubscriptions
- list with topics and related quality of service levels (from Netty)properties
- MQTT message properties- Returns:
- Vert.x subscribe message
-
properties
public io.netty.handler.codec.mqtt.MqttProperties properties()
- Returns:
- MQTT properties
-
newInstance
public static MqttSubscribeMessage newInstance(io.vertx.mqtt.messages.MqttSubscribeMessage arg)
-
-