public final class MqttProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MqttProperties.BinaryProperty |
static class |
MqttProperties.IntegerProperty |
static class |
MqttProperties.MqttProperty<T>
MQTT property base class
|
static class |
MqttProperties.MqttPropertyType |
static class |
MqttProperties.StringPair |
static class |
MqttProperties.StringProperty |
static class |
MqttProperties.UserProperties |
static class |
MqttProperties.UserProperty |
Modifier and Type | Field and Description |
---|---|
static MqttProperties |
NO_PROPERTIES |
Constructor and Description |
---|
MqttProperties() |
Modifier and Type | Method and Description |
---|---|
void |
add(MqttProperties.MqttProperty property) |
List<? extends MqttProperties.MqttProperty> |
getProperties(int propertyId)
Get properties by ID.
|
MqttProperties.MqttProperty |
getProperty(int propertyId)
Get property by ID.
|
boolean |
isEmpty() |
Collection<? extends MqttProperties.MqttProperty> |
listAll() |
public static final MqttProperties NO_PROPERTIES
public void add(MqttProperties.MqttProperty property)
public Collection<? extends MqttProperties.MqttProperty> listAll()
public boolean isEmpty()
public MqttProperties.MqttProperty getProperty(int propertyId)
propertyId
- ID of the propertypublic List<? extends MqttProperties.MqttProperty> getProperties(int propertyId)
propertyId
- ID of the propertyCopyright © 2008–2024 The Netty Project. All rights reserved.