Interface PayloadGenerator
-
public interface PayloadGenerator
A payload generator is used to generate payloads for a Mqtt Publish.It can be implemented to be scoped to any subset of its parameters.
- Since:
- 4.6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull ByteBuffer
nextPayload(@NotNull PayloadGeneratorInput payloadGeneratorInput)
Generate the next payload for the generator.
-
-
-
Method Detail
-
nextPayload
@NotNull @NotNull ByteBuffer nextPayload(@NotNull @NotNull PayloadGeneratorInput payloadGeneratorInput)
Generate the next payload for the generator. Parameters may be ignored by the implementation.- Returns:
- payload as
ByteBuffer
- Since:
- 4.6.0
-
-