![JAR search and dependency download from the Maven repository](/logo.png)
classes.io.netty.channel.AbstractChannelHandlerContext.class Maven / Gradle / Ivy
The newest version!
???? 2?
?
?
?
?
? ?
?
?
?
?
?
?
?
?
?
?
?
?
??? ? ?
??? ? ?
? ?? ?
??
???????
?
?
????
)???
?
?? .
4? .
9? .
>? .
1
D
!
"
#8$
U% .&
'
(>
?)*
\% .+
,
- ./
b?
b0 .1
2
3
b4 .5
6
7
8
9
:
;
<
=>J
r?
@
AB
wC
DE zF
GMH
~I zJ?K
LMN
?O zPQ
?O zRS
?O zT
bU zV
W
X
Y
Z z[
b\?]
^
_ z`
a
bcd ? ?
e
?f
?g
?hi
jk
lm
0no
pq
r
0st
?uv
?u wx
?uy
?zT{|{}~
???
??
??
??
??{???
?
??
????? ? ? ?
?? ??
??
???
?????{?
?????
??
??
??? Tasks InnerClasses? WriteAndFlushTask? WriteTask? AbstractWriteTask logger /Lio/netty/util/internal/logging/InternalLogger; next 0Lio/netty/channel/AbstractChannelHandlerContext; prev HANDLER_STATE_UPDATER 7Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; Signature iLjava/util/concurrent/atomic/AtomicIntegerFieldUpdater; ADD_PENDING I
ConstantValue ADD_COMPLETE REMOVE_COMPLETE INIT pipeline )Lio/netty/channel/DefaultChannelPipeline; name Ljava/lang/String; ordered Z
executionMask executor (Lio/netty/util/concurrent/EventExecutor; succeededFuture Lio/netty/channel/ChannelFuture; invokeTasks 6Lio/netty/channel/AbstractChannelHandlerContext$Tasks; handlerState $assertionsDisabled w(Lio/netty/channel/DefaultChannelPipeline;Lio/netty/util/concurrent/EventExecutor;Ljava/lang/String;Ljava/lang/Class;)V Code LineNumberTable LocalVariableTable this handlerClass Ljava/lang/Class; LocalVariableTypeTable 5Ljava/lang/Class<+Lio/netty/channel/ChannelHandler;>;
StackMapTable????? ?(Lio/netty/channel/DefaultChannelPipeline;Lio/netty/util/concurrent/EventExecutor;Ljava/lang/String;Ljava/lang/Class<+Lio/netty/channel/ChannelHandler;>;)V channel ()Lio/netty/channel/Channel; $()Lio/netty/channel/ChannelPipeline; alloc $()Lio/netty/buffer/ByteBufAllocator; *()Lio/netty/util/concurrent/EventExecutor; ()Ljava/lang/String; fireChannelRegistered *()Lio/netty/channel/ChannelHandlerContext; invokeChannelRegistered 3(Lio/netty/channel/AbstractChannelHandlerContext;)V ()V t Ljava/lang/Throwable; fireChannelUnregistered invokeChannelUnregistered fireChannelActive invokeChannelActive fireChannelInactive invokeChannelInactive fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext; cause invokeExceptionCaught H(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Throwable;)V (Ljava/lang/Throwable;)V error fireUserEventTriggered <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; event Ljava/lang/Object; invokeUserEventTriggered E(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;)V (Ljava/lang/Object;)V fireChannelRead msg invokeChannelRead m? fireChannelReadComplete invokeChannelReadComplete tasks/ fireChannelWritabilityChanged invokeChannelWritabilityChanged bind :(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture; localAddress Ljava/net/SocketAddress; connect
remoteAddress R(Ljava/net/SocketAddress;Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture;
disconnect "()Lio/netty/channel/ChannelFuture; close
deregister [(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; promise !Lio/netty/channel/ChannelPromise;
invokeBind <(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V s(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture;
invokeConnect T(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; invokeDisconnect $(Lio/netty/channel/ChannelPromise;)V invokeClose invokeDeregister read
invokeRead write 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; invokeWrite 6(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V invokeWrite0 flush invokeFlush invokeFlush0
writeAndFlush invokeWriteAndFlush 7(Ljava/lang/Object;ZLio/netty/channel/ChannelPromise;)V e Ljava/lang/RuntimeException; task BLio/netty/channel/AbstractChannelHandlerContext$AbstractWriteTask;d?? notifyOutboundHandlerException 9(Ljava/lang/Throwable;Lio/netty/channel/ChannelPromise;)V? notifyHandlerException inExceptionCaught (Ljava/lang/Throwable;)Z Ljava/lang/StackTraceElement; trace [Ljava/lang/StackTraceElement;}?
newPromise #()Lio/netty/channel/ChannelPromise; newProgressivePromise .()Lio/netty/channel/ChannelProgressivePromise; newSucceededFuture? newFailedFuture 7(Ljava/lang/Throwable;)Lio/netty/channel/ChannelFuture; isNotValidPromise %(Lio/netty/channel/ChannelPromise;Z)Z allowVoidPromise findContextInbound 3(I)Lio/netty/channel/AbstractChannelHandlerContext; mask ctx findContextOutbound voidPromise
setRemoved setAddComplete ()Z oldState
setAddPending updated callHandlerAdded
Exceptions? callHandlerRemoved
invokeHandler isRemoved attr 7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; key Lio/netty/util/AttributeKey; !Lio/netty/util/AttributeKey; W(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; hasAttr (Lio/netty/util/AttributeKey;)Z :(Lio/netty/util/AttributeKey;)Z safeExecute r(Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Runnable;Lio/netty/channel/ChannelPromise;Ljava/lang/Object;)Z runnable Ljava/lang/Runnable;? toHintString toString *()Lio/netty/channel/ChannelInboundInvoker; <(Ljava/lang/Object;)Lio/netty/channel/ChannelInboundInvoker; ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelInboundInvoker; +()Lio/netty/channel/ChannelOutboundInvoker;
access$000 x0
access$100
access$200
access$300
access$400 x1
access$500
access$600
access$900 l(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V x2 access$1000 ?(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V x3 access$1100 T(Lio/netty/channel/AbstractChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V access$1200 access$1300 access$1600 [(Lio/netty/channel/AbstractChannelHandlerContext;)Lio/netty/channel/DefaultChannelPipeline; access$1700 f(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V access$2100 access$2300 access$2400 access$2500
SourceFile "AbstractChannelHandlerContext.java #io/netty/channel/ChannelHandlerMaskG%a%C%i%ef ? ?_]^]\]YZVW?<:<24.%,%*%#% % .io/netty/channel/AbstractChannelHandlerContext ???? java/lang/String ? ??? ? -io/netty/util/concurrent/OrderedEventExecutor ? ???????????#$??? 0io/netty/channel/AbstractChannelHandlerContext$1 $?????? &io/netty/channel/ChannelInboundHandler?? java/lang/Throwablex4!"*$ 0io/netty/channel/AbstractChannelHandlerContext$2??)",$ 0io/netty/channel/AbstractChannelHandlerContext$3??+".$ 0io/netty/channel/AbstractChannelHandlerContext$4??-"23 0io/netty/channel/AbstractChannelHandlerContext$5 3 ? ???? ,Failed to submit an exceptionCaught() event.?? :The exceptionCaught() event that was failed to submit was:?o??? nAn exception {}was thrown by a user handler's exceptionCaught() method while handling the following exception:????? ?An exception '{}' [enable DEBUG level for full stacktrace] was thrown by a user handler's exceptionCaught() method while handling the following exception:??/0:; 0io/netty/channel/AbstractChannelHandlerContext$6 ;??67?;?? 0io/netty/channel/AbstractChannelHandlerContext$7??=7C$ 4io/netty/channel/AbstractChannelHandlerContext$Tasks????B"G$????F"??HSLSLXO[Q[R[ java/lang/NullPointerException ????? 0io/netty/channel/AbstractChannelHandlerContext$8 ??? 'io/netty/channel/ChannelOutboundHandlerH?uv 0io/netty/channel/AbstractChannelHandlerContext$9 ?L?????? 1io/netty/channel/AbstractChannelHandlerContext$10 ?O? 1io/netty/channel/AbstractChannelHandlerContext$11Q? 1io/netty/channel/AbstractChannelHandlerContext$12R???`?`"bdbmgfb?????j%h"h?kd??? java/lang/RuntimeExceptionlf?????% #io/netty/channel/VoidChannelPromise???yz QAn exception was thrown by a user handler while handling an exceptionCaught event?? exceptionCaught?? ???? &io/netty/channel/DefaultChannelPromise ? 1io/netty/channel/DefaultChannelProgressivePromise 'io/netty/channel/SucceededChannelFuture $io/netty/channel/FailedChannelFuture ?????? "java/lang/IllegalArgumentException java/lang/StringBuilder promise already done: ? ?? 1promise.channel does not match: %s (expected: %s) java/lang/Object not allowed for this operation ,io/netty/channel/AbstractChannel$CloseFuture CloseFuture not allowed in a pipeline ? ? ? ? ? ?
? java/lang/AssertionError??
???%????? *' will handle the message from this point. &io/netty/channel/ChannelHandlerContext , ?? io/netty/util/ResourceLeakHint @io/netty/channel/AbstractChannelHandlerContext$WriteAndFlushTask 8io/netty/channel/AbstractChannelHandlerContext$WriteTask @io/netty/channel/AbstractChannelHandlerContext$AbstractWriteTask 'io/netty/channel/DefaultChannelPipeline &io/netty/util/concurrent/EventExecutor java/lang/Class io/netty/channel/ChannelPromise -io/netty/util/internal/logging/InternalLogger java/lang/StackTraceElement io/netty/channel/ChannelFuture java/lang/Exception java/lang/Runnable !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; (Ljava/lang/Class;)I io/netty/channel/Channel config "()Lio/netty/channel/ChannelConfig; io/netty/channel/ChannelConfig getAllocator eventLoop ()Lio/netty/channel/EventLoop; inEventLoop execute (Ljava/lang/Runnable;)V handler #()Lio/netty/channel/ChannelHandler; channelRegistered +(Lio/netty/channel/ChannelHandlerContext;)V channelUnregistered
channelActive channelInactive
isWarnEnabled warn *(Ljava/lang/String;Ljava/lang/Throwable;)V io/netty/channel/ChannelHandler @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V isDebugEnabled $io/netty/util/internal/ThrowableUtil stackTraceToString )(Ljava/lang/Throwable;)Ljava/lang/String; debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V userEventTriggered =(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V touch V(Ljava/lang/Object;Lio/netty/channel/AbstractChannelHandlerContext;)Ljava/lang/Object; channelRead
access$700 L(Lio/netty/channel/AbstractChannelHandlerContext$Tasks;)Ljava/lang/Runnable; channelReadComplete
access$800 channelWritabilityChanged (Ljava/lang/String;)V ?(Lio/netty/channel/AbstractChannelHandlerContext;Lio/netty/channel/AbstractChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V d(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V ?(Lio/netty/channel/AbstractChannelHandlerContext;Lio/netty/channel/AbstractChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V |(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V metadata $()Lio/netty/channel/ChannelMetadata; io/netty/channel/ChannelMetadata
hasDisconnect ?(Lio/netty/channel/AbstractChannelHandlerContext;Lio/netty/channel/AbstractChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V access$1400 ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V access$1500 io/netty/util/ReferenceCountUtil release (Ljava/lang/Object;)Z newInstance ?(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/AbstractChannelHandlerContext$WriteAndFlushTask; ?(Lio/netty/channel/AbstractChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/AbstractChannelHandlerContext$WriteTask; cancel .io/netty/util/internal/PromiseNotificationUtil
tryFailure i(Lio/netty/util/concurrent/Promise;Ljava/lang/Throwable;Lio/netty/util/internal/logging/InternalLogger;)V
getStackTrace ()[Ljava/lang/StackTraceElement;
getMethodName equals getCause ()Ljava/lang/Throwable; E(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;)V Z(Lio/netty/channel/Channel;Lio/netty/util/concurrent/EventExecutor;Ljava/lang/Throwable;)V isDone isCancelled append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; getClass ()Ljava/lang/Class; !io/netty/util/internal/StringUtil simpleClassName %(Ljava/lang/Class;)Ljava/lang/String; io/netty/channel/AbstractChannel 5java/util/concurrent/atomic/AtomicIntegerFieldUpdater
compareAndSet (Ljava/lang/Object;II)Z handlerAdded handlerRemoved
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; (C)Ljava/lang/StringBuilder; desiredAssertionStatus 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
newUpdater \(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicIntegerFieldUpdater; ? ? ? ? ? @ ? ? @ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? B ? ? t
? >*? *? *-? ? ? *+? *,? *? ? *,?
,? ? ? ? ? " d a e f g h ) j = k
4 > ? > ? ? > > ? ? > > 9 ? 5 C? ? 2 *? ? ? o
? ? / *? ? t
? 9 *? !? " ? # ? y
? Q *? ?
*? !? $ ?*? ? ~ ?
? ? / *? ? ?
? !" 8
*? %? &*?
? ?
? #$ w $*? 'L+? ( ?
*? ? +? )Y*? *? + ? ? ? ? ? # ?
$ ? ? ?
#% ? &*? ,? *? -? .*? / ? L*+? 1? *? 2W? 0 " ? ? ? ? ? ? ? % ?
&' & ? W( )" 8
*? %? 3*?
? ?
? *$ w $*? 'L+? ( ?
*? ? +? 4Y*? 5? + ? ? ? ? ? # ?
$ ? ? ?
*% ? &*? ,? *? -? .*? 6 ? L*+? 1? *? 7W? 0 " ? ? ? ? ? ? ? % ?
&' & ? W( +" 9 *? %? 8*?
? ?
? ,$ w $*? 'L+? ( ?
*? ? +? 9Y*? :? + ? ? ? ? ? # ?
$ ? ? ?
,% ? &*? ,? *? -? .*? ; ? L*+? 1? *?