Package io.vertx.reactivex.mqtt.messages
Class MqttSubscribeMessage
- java.lang.Object
-
- io.vertx.reactivex.mqtt.messages.MqttSubscribeMessage
-
- All Implemented Interfaces:
MqttMessage
public class MqttSubscribeMessage extends Object implements MqttMessage
Represents an MQTT SUBSCRIBE messageNOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<MqttSubscribeMessage>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MqttSubscribeMessage(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<MqttTopicSubscription> topicSubscriptions, MqttProperties properties)
Create a concrete instance of a Vert.x subscribe messageboolean
equals(Object o)
MqttSubscribeMessage
getDelegate()
int
hashCode()
int
messageId()
static MqttSubscribeMessage
newInstance(MqttSubscribeMessage arg)
MqttProperties
properties()
List<MqttTopicSubscription>
topicSubscriptions()
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<MqttSubscribeMessage> __TYPE_ARG
-
-
Constructor Detail
-
MqttSubscribeMessage
public MqttSubscribeMessage(MqttSubscribeMessage delegate)
-
MqttSubscribeMessage
public MqttSubscribeMessage(Object delegate)
-
-
Method Detail
-
getDelegate
public 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<MqttTopicSubscription> topicSubscriptions, MqttProperties properties)
Create a concrete instance of a Vert.x subscribe message- 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 MqttProperties properties()
- Returns:
- MQTT properties
-
newInstance
public static MqttSubscribeMessage newInstance(MqttSubscribeMessage arg)
-
-