public final class MqttDecoder extends ObjectToMessageDecoder
| 构造器和说明 |
|---|
MqttDecoder() |
MqttDecoder(int maxBytesInMessage) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
checkpoint(com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState state)
Stores the internal cumulative buffer's reader position and updates
the current decoder state.
|
void |
decode(SocketChannel socketChannel,
Object obj,
LinkedNonReadBlockQueue<Object> out) |
protected com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState |
state()
Returns the current state of this decoder.
|
protected com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState |
state(com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState newState)
Sets the current state of this decoder.
|
channelAdded, channelClosed, channelRead, channelWrite, encode, exceptionCaught, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchannelAdded, channelClosed, channelRead, exceptionCaughtchannelWrite, encode, userEventTriggeredprotected com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState state()
protected com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState state(com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState newState)
protected void checkpoint(com.gettyio.expansion.handler.codec.mqtt.MqttDecoder.DecoderState state)
public void decode(SocketChannel socketChannel, Object obj, LinkedNonReadBlockQueue<Object> out) throws Exception
decode 在接口中 ChannelBoundHandlerdecode 在接口中 ChannelInboundHandlerdecode 在类中 ChannelHandlerAdapterExceptionCopyright © 2021. All rights reserved.