Package io.vertx.mutiny.mqtt
Class MqttTopicSubscription
java.lang.Object
io.vertx.mutiny.mqtt.MqttTopicSubscription
- All Implemented Interfaces:
MutinyDelegate
Represents a subscription to a topic
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
MqttTopicSubscription
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMqttTopicSubscription(io.vertx.mqtt.MqttTopicSubscription delegate) Create a new instance ofMqttTopicSubscriptiondelegating to the given (non-null) instance ofMqttTopicSubscription.MqttTopicSubscription(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.mqtt.MqttTopicSubscriptionGet the delegate instance.inthashCode()static MqttTopicSubscriptionnewInstance(io.vertx.mqtt.MqttTopicSubscription delegate) Creates a new instance of theMqttTopicSubscription.io.netty.handler.codec.mqtt.MqttQoSio.netty.handler.codec.mqtt.MqttSubscriptionOptionSubscription optiontoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MqttTopicSubscription
public MqttTopicSubscription(io.vertx.mqtt.MqttTopicSubscription delegate) Create a new instance ofMqttTopicSubscriptiondelegating to the given (non-null) instance ofMqttTopicSubscription. -
MqttTopicSubscription
-
-
Method Details
-
getDelegate
public io.vertx.mqtt.MqttTopicSubscription 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
-
topicName
- Returns:
- Subscription topic name
-
qualityOfService
public io.netty.handler.codec.mqtt.MqttQoS qualityOfService()- Returns:
- Quality of Service level for the subscription
-
subscriptionOption
public io.netty.handler.codec.mqtt.MqttSubscriptionOption subscriptionOption()Subscription option- Returns:
- Subscription options
-
newInstance
Creates a new instance of theMqttTopicSubscription. -
hashCode
public int hashCode() -
equals
-
toString
-