public class MqttClientAioHandler extends Object implements org.tio.client.intf.ClientAioHandler
| 构造器和说明 |
|---|
MqttClientAioHandler(ByteBufferAllocator bufferAllocator,
IMqttClientProcessor processor) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tio.core.intf.Packet |
decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
org.tio.core.ChannelContext channelContext) |
ByteBuffer |
encode(org.tio.core.intf.Packet packet,
org.tio.core.TioConfig tioConfig,
org.tio.core.ChannelContext channelContext) |
void |
handler(org.tio.core.intf.Packet packet,
org.tio.core.ChannelContext context) |
org.tio.core.intf.Packet |
heartbeatPacket(org.tio.core.ChannelContext channelContext) |
public MqttClientAioHandler(ByteBufferAllocator bufferAllocator, IMqttClientProcessor processor)
public org.tio.core.intf.Packet heartbeatPacket(org.tio.core.ChannelContext channelContext)
heartbeatPacket 在接口中 org.tio.client.intf.ClientAioHandlerpublic org.tio.core.intf.Packet decode(ByteBuffer buffer, int limit, int position, int readableLength, org.tio.core.ChannelContext channelContext)
decode 在接口中 org.tio.core.intf.AioHandlerpublic ByteBuffer encode(org.tio.core.intf.Packet packet, org.tio.core.TioConfig tioConfig, org.tio.core.ChannelContext channelContext)
encode 在接口中 org.tio.core.intf.AioHandlerpublic void handler(org.tio.core.intf.Packet packet,
org.tio.core.ChannelContext context)
handler 在接口中 org.tio.core.intf.AioHandlerCopyright © 2021. All rights reserved.