public final class MqttEncoder extends MessageToByteEncoder
| 限定符和类型 | 字段和说明 |
|---|---|
static byte[] |
EMPTY_BYTES |
static MqttEncoder |
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
encode(SocketChannel socketChannel,
Object obj) |
channelAdded, channelClosed, channelRead, channelWrite, decode, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelWritechannelAdded, channelClosed, channelRead, decode, exceptionCaught, userEventTriggeredpublic static final byte[] EMPTY_BYTES
public static final MqttEncoder INSTANCE
public void encode(SocketChannel socketChannel, Object obj) throws Exception
encode 在接口中 ChannelBoundHandlerencode 在接口中 ChannelOutboundHandlerencode 在类中 ChannelHandlerAdapterExceptionCopyright © 2021. All rights reserved.