Package io.netty.handler.codec.mqtt
Class MqttProperties.MqttProperty<T>
- java.lang.Object
-
- io.netty.handler.codec.mqtt.MqttProperties.MqttProperty<T>
-
- Type Parameters:
T- property type
- Direct Known Subclasses:
MqttProperties.BinaryProperty,MqttProperties.IntegerProperty,MqttProperties.StringProperty,MqttProperties.UserProperties,MqttProperties.UserProperty
- Enclosing class:
- MqttProperties
public abstract static class MqttProperties.MqttProperty<T> extends java.lang.ObjectMQTT property base class
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMqttProperty(int propertyId, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()intpropertyId()Get MQTT property IDTvalue()Get MQTT property value
-
-
-
Constructor Detail
-
MqttProperty
protected MqttProperty(int propertyId, T value)
-
-
Method Detail
-
value
public T value()
Get MQTT property value- Returns:
- property value
-
propertyId
public int propertyId()
Get MQTT property ID- Returns:
- property ID
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-