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.Object
MQTT property base class
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final int
     
    (package private) final T
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MqttProperty(int propertyId, T value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(java.lang.Object obj)
     
    int
     
    int
    Get MQTT property ID
    Get MQTT property value

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      final T value
    • propertyId

      final int propertyId
  • Constructor Details

    • MqttProperty

      protected MqttProperty(int propertyId, T value)
  • Method Details

    • 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:
      hashCode in class java.lang.Object
    • equals

      public boolean equals(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object