public abstract class MqttMessageEncoders
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected @NotNull MqttMessageEncoder[] |
encoders |
Constructor and Description |
---|
MqttMessageEncoders() |
Modifier and Type | Method and Description |
---|---|
@Nullable MqttMessageEncoder |
get(int code)
Returns the corresponding encoder to the given MQTT message type code.
|
@NotNull protected final @NotNull MqttMessageEncoder[] encoders
@Nullable public final @Nullable MqttMessageEncoder get(int code)
code
- the MQTT message type code.