classes.io.netty.handler.codec.mqtt.MqttDecoder.class Maven / Gradle / Ivy
???? 2
+ ,
?- . ?/
01
2
3 4
15 6 7
89:
;<
=
>?
@
A
B
<C D
<E FG
HIJ
1K
L MNO
P
Q
RS
T
UVW
*; X
RY
UZ
[\]^
_`
1a
bc
bd ?e
[2
f
g
h
ij
<k
l
Umn
op
q orst
ou
ovw
Hx
Eyz
{|
K}
~
?
b???
1?
_??
U?
b??
?
?
?
?
?
E?
E?
b???
a?
E?
?
?
E?
E??
i??
k;?
m??
o?
H??
r??
t?
U????
@?
@?
U? ??
U? ??
???? InnerClasses Result DecoderState DEFAULT_MAX_BYTES_IN_MESSAGE I
ConstantValue ? mqttFixedHeader -Lio/netty/handler/codec/mqtt/MqttFixedHeader; variableHeader Ljava/lang/Object; payload bytesRemainingInVariablePart maxBytesInMessage ()V Code LineNumberTable LocalVariableTable this )Lio/netty/handler/codec/mqtt/MqttDecoder; (I)V decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V decodedVariableHeader 0Lio/netty/handler/codec/mqtt/MqttDecoder$Result; cause Ljava/lang/Exception; decodedPayload message )Lio/netty/handler/codec/mqtt/MqttMessage; ctx (Lio/netty/channel/ChannelHandlerContext; buffer Lio/netty/buffer/ByteBuf; out Ljava/util/List; LocalVariableTypeTable 3Lio/netty/handler/codec/mqtt/MqttDecoder$Result<*>; $Ljava/util/List;
StackMapTableGj????
Exceptions Signature h(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V invalidMessage @(Ljava/lang/Throwable;)Lio/netty/handler/codec/mqtt/MqttMessage; Ljava/lang/Throwable; decodeFixedHeader H(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttFixedHeader; b1 S messageType -Lio/netty/handler/codec/mqtt/MqttMessageType; dupFlag Z qosLevel retain remainingLength
multiplier digit loops decodedFixedHeader? decodeVariableHeader x(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttFixedHeader;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; {(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttFixedHeader;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result<*>; decodeConnectionVariableHeader K(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; zeroReservedFlag protoString numberOfBytesConsumed
protocolLevel B mqttVersion )Lio/netty/handler/codec/mqtt/MqttVersion; keepAlive hasUserName hasPassword
willRetain willQos willFlag cleanSession mqttConnectVariableHeader 7Lio/netty/handler/codec/mqtt/MqttConnectVariableHeader; DLio/netty/handler/codec/mqtt/MqttDecoder$Result; ELio/netty/handler/codec/mqtt/MqttDecoder$Result;? ?(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeConnAckVariableHeader sessionPresent
returnCode mqttConnAckVariableHeader 7Lio/netty/handler/codec/mqtt/MqttConnAckVariableHeader; ?(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeMessageIdVariableHeader messageId ?(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodePublishVariableHeader decodedMessageId decodedTopic mqttPublishVariableHeader 7Lio/netty/handler/codec/mqtt/MqttPublishVariableHeader; ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttFixedHeader;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeMessageId `(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result;
decodePayload ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttMessageType;ILjava/lang/Object;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttMessageType;ILjava/lang/Object;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result<*>; decodeConnectionPayload ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttConnectVariableHeader;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodedClientId decodedClientIdValue Ljava/lang/String; decodedWillTopic decodedWillMessage decodedUserName decodedPassword mqttConnectPayload 0Lio/netty/handler/codec/mqtt/MqttConnectPayload;ntn ?(Lio/netty/buffer/ByteBuf;Lio/netty/handler/codec/mqtt/MqttConnectVariableHeader;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeSubscribePayload L(Lio/netty/buffer/ByteBuf;I)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodedTopicName qos subscribeTopics ELjava/util/List; ?(Lio/netty/buffer/ByteBuf;I)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeSubackPayload
grantedQos %Ljava/util/List; }(Lio/netty/buffer/ByteBuf;I)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeUnsubscribePayload unsubscribeTopics $Ljava/util/List; ?(Lio/netty/buffer/ByteBuf;I)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodePublishPayload b g(Lio/netty/buffer/ByteBuf;I)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeString _(Lio/netty/buffer/ByteBuf;)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeAsciiString i result s M(Lio/netty/buffer/ByteBuf;II)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; minBytes maxBytes decodedSize size a(Lio/netty/buffer/ByteBuf;II)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; decodeMsbLsb min max msbSize lsbSize b(Lio/netty/buffer/ByteBuf;II)Lio/netty/handler/codec/mqtt/MqttDecoder$Result; aLio/netty/handler/codec/ReplayingDecoder;
SourceFile MqttDecoder.java ? ??? ?? ? ????? 4io/netty/handler/codec/mqtt/MqttDecoder$DecoderState?? ? ? ? ? ?? ? ????? 'io/netty/handler/codec/DecoderException java/lang/StringBuilder ? ? too large message: ???? bytes?? ?? ? ??? ? ????? java/lang/Exception ? ???? ?? ? ? ? ? "non-zero remaining payload bytes: (???????????? java/lang/Error??? ?????? #remaining length exceeds 4 digits ( +io/netty/handler/codec/mqtt/MqttFixedHeader??? ????????? ? ? ? ? ? ? ? ? .io/netty/handler/codec/mqtt/MqttDecoder$Result ?? ??? java/lang/String???" ?? ? non-zero reserved flag 5io/netty/handler/codec/mqtt/MqttConnectVariableHeader?? ?? java/lang/Integer?? ?? 5io/netty/handler/codec/mqtt/MqttConnAckVariableHeader??? ?? ? ?????? invalid publish topic name: (contains wildcards) ???? 5io/netty/handler/codec/mqtt/MqttPublishVariableHeader ???? invalid messageId: ? ??????? ;io/netty/handler/codec/mqtt/MqttIdentifierRejectedException invalid clientIdentifier: ???? ? ?? ?? .io/netty/handler/codec/mqtt/MqttConnectPayload ? java/util/ArrayList 1io/netty/handler/codec/mqtt/MqttTopicSubscription ? 0io/netty/handler/codec/mqtt/MqttSubscribePayload ?? -io/netty/handler/codec/mqtt/MqttSubAckPayload ? 2io/netty/handler/codec/mqtt/MqttUnsubscribePayload?? ?
?
" 'io/netty/handler/codec/mqtt/MqttDecoder 'io/netty/handler/codec/ReplayingDecoder )io/netty/handler/codec/mqtt/MqttDecoder$1 &io/netty/channel/ChannelHandlerContext io/netty/buffer/ByteBuf java/util/List +io/netty/handler/codec/mqtt/MqttMessageType 'io/netty/handler/codec/mqtt/MqttVersion READ_FIXED_HEADER 6Lio/netty/handler/codec/mqtt/MqttDecoder$DecoderState; (Ljava/lang/Object;)V ?$SwitchMap$io$netty$handler$codec$mqtt$MqttDecoder$DecoderState [I state ()Ljava/lang/Object; ordinal ()I READ_VARIABLE_HEADER
checkpoint append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V
access$000 D(Lio/netty/handler/codec/mqtt/MqttDecoder$Result;)Ljava/lang/Object;
access$100 3(Lio/netty/handler/codec/mqtt/MqttDecoder$Result;)I READ_PAYLOAD add (Ljava/lang/Object;)Z /()Lio/netty/handler/codec/mqtt/MqttMessageType; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; .io/netty/handler/codec/mqtt/MqttMessageFactory
newMessage |(Lio/netty/handler/codec/mqtt/MqttFixedHeader;Ljava/lang/Object;Ljava/lang/Object;)Lio/netty/handler/codec/mqtt/MqttMessage; actualReadableBytes skipBytes (I)Lio/netty/buffer/ByteBuf; BAD_MESSAGE newInvalidMessage readUnsignedByte ()S valueOf 0(I)Lio/netty/handler/codec/mqtt/MqttMessageType; #io/netty/handler/codec/mqtt/MqttQoS ((I)Lio/netty/handler/codec/mqtt/MqttQoS; X(Lio/netty/handler/codec/mqtt/MqttMessageType;ZLio/netty/handler/codec/mqtt/MqttQoS;ZI)V )io/netty/handler/codec/mqtt/MqttCodecUtil resetUnusedFields \(Lio/netty/handler/codec/mqtt/MqttFixedHeader;)Lio/netty/handler/codec/mqtt/MqttFixedHeader; validateFixedHeader 6$SwitchMap$io$netty$handler$codec$mqtt$MqttMessageType (Ljava/lang/Object;I)V readByte ()B fromProtocolNameAndLevel >(Ljava/lang/String;B)Lio/netty/handler/codec/mqtt/MqttVersion;
MQTT_3_1_1 protocolName intValue (Ljava/lang/String;IZZZIZZI)V 1io/netty/handler/codec/mqtt/MqttConnectReturnCode 6(B)Lio/netty/handler/codec/mqtt/MqttConnectReturnCode; 7(Lio/netty/handler/codec/mqtt/MqttConnectReturnCode;Z)V 7io/netty/handler/codec/mqtt/MqttMessageIdVariableHeader from <(I)Lio/netty/handler/codec/mqtt/MqttMessageIdVariableHeader; isValidPublishTopicName (Ljava/lang/String;)Z '()Lio/netty/handler/codec/mqtt/MqttQoS; value (Ljava/lang/String;I)V isValidMessageId (I)Z name version isValidClientId >(Lio/netty/handler/codec/mqtt/MqttVersion;Ljava/lang/String;)Z
isWillFlag ()Z ](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V :(Ljava/lang/String;Lio/netty/handler/codec/mqtt/MqttQoS;)V (Ljava/util/List;)V (I)Ljava/lang/Integer; (Ljava/lang/Iterable;)V readRetainedSlice length charAt (I)C readerIndex io/netty/util/CharsetUtil UTF_8 Ljava/nio/charset/Charset; 0(IILjava/nio/charset/Charset;)Ljava/lang/String; 1 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6 *?? ? ?
@ A ? ? ? ? ? ? I
*? ? *? ? ? D E F ?
? ?
? ? ? ? ? ? l? *? ? ? .? U 8 ? I*,? ?
**?
? ? *?
? *? *? ? &? Y? Y? ? *? ? ? ? ? ?,*?
? :*? ? *Y? ? d? *? ? ? :-*? ? W?,*?
? *? *? ? !:*? ? "*Y? ? d? *? ? 5? Y? Y? #? *? ? $? *?
? ? %)? &? ? ?*? ? *?
*? *? "? ':*?
*? *? "-? W? ':-*? ? W?,*? (? )W? ? *Y? +?? F ? ? ?DG ? ? ! J , L 4 M ? N F R Q S t U ~ V ? W ? X ? ] ? Z ? [ ? \ ? ` ? f ? g ? h ? i m n, o1 p6 q; rD sG tI uV vW {` |c ?k ? ? \ ~ ? ? ? ? ? ? ? ? ? , ? ? I ? ? l ? ? l ? ? l ? ? l ? ? ? ~ ? ? ? ? ? ? l ? ? ? )
,-j ?? d ?? 2 ? ? ? ? ? ? ? ? ? ? ? D *? ,? +? -? ?
? ? ? ? ? ? ?
? ? ? ? ?*? .<z? /M~? ? >~z6~? ? 6666 *? .6~h`6 ?h6? ?~? ??? ? , ?~? #? Y? Y? 0? ,? %)? &? ? ?? 1Y,? 2? 3:
? 4? 5? ? F ? ? ? ? # ? 0 ? 3 ? 6 ? 9 ? ? ? L ? T ? W ? f ? u ? ? ? ? ? ? p ? ? ? ? ? ? ? ? ? ? ? ? # ? ? ? 0 ? ? ? 3 ? ? 6 | ? ? ? s ? ? 9 y ? ? ? ? ?
? = ? ?@? @?
? ? ? ,
? ? .
? ? ? ? y? 6+? ? 7.? d E J O O O O O O O O T Z Z Z*? 8?*? 9?*? :?*+? ;??