| Modifier and Type | Field and Description |
|---|---|
static MqttEncoder |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
doEncode(org.tio.core.ChannelContext ctx,
MqttMessage message,
org.tio.utils.buffer.ByteBufferAllocator allocator)
This is the main encoding method.
|
public static final MqttEncoder INSTANCE
public ByteBuffer doEncode(org.tio.core.ChannelContext ctx, MqttMessage message, org.tio.utils.buffer.ByteBufferAllocator allocator)
ctx - ChannelContextmessage - MQTT message to encodeallocator - ByteBuffer AllocatorCopyright © 2024. All rights reserved.