com.groupbyinc.flux.common.netty.channel.embedded.EmbeddedChannel.class Maven / Gradle / Ivy
???? 2? Acom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel 8com/groupbyinc/flux/common/netty/channel/AbstractChannel EmbeddedChannel.java Ycom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$EmbeddedChannelPipeline EmbeddedChannelPipeline Ocom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$DefaultUnsafe
DefaultUnsafe Gcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$State State Ccom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$2 Ccom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$1 Gcom/groupbyinc/flux/common/netty/channel/AbstractChannel$AbstractUnsafe AbstractUnsafe
LOCAL_ADDRESS Ljava/net/SocketAddress; REMOTE_ADDRESS EMPTY_HANDLERS :[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler; logger GLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; METADATA_NO_DISCONNECT :Lcom/groupbyinc/flux/common/netty/channel/ChannelMetadata; METADATA_DISCONNECT loop ELcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedEventLoop; recordExceptionListener @Lcom/groupbyinc/flux/common/netty/channel/ChannelFutureListener; metadata config 8Lcom/groupbyinc/flux/common/netty/channel/ChannelConfig; inboundMessages Ljava/util/Queue; %Ljava/util/Queue; outboundMessages
lastException Ljava/lang/Throwable; state ILcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$State; $assertionsDisabled Z ()V 3 =([Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V 1 5
6 this CLcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel; 7(Lcom/groupbyinc/flux/common/netty/channel/ChannelId;)V q(Lcom/groupbyinc/flux/common/netty/channel/ChannelId;[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V 1 ;
< channelId 4Lcom/groupbyinc/flux/common/netty/channel/ChannelId; Ccom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannelId @ INSTANCE B ? A C handlers >(Z[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V r(Lcom/groupbyinc/flux/common/netty/channel/ChannelId;Z[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V 1 G
H
hasDisconnect i(Lcom/groupbyinc/flux/common/netty/channel/Channel;Lcom/groupbyinc/flux/common/netty/channel/ChannelId;)V 1 K
L Ccom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedEventLoop N 1 2
O P ! R F(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;)V 1 T
U " # W =(Z)Lcom/groupbyinc/flux/common/netty/channel/ChannelMetadata; $ Y
Z $ \ =com/groupbyinc/flux/common/netty/channel/DefaultChannelConfig ^ 5(Lcom/groupbyinc/flux/common/netty/channel/Channel;)V 1 `
_ a % & c setup e 5
f ?(Lcom/groupbyinc/flux/common/netty/channel/ChannelId;ZLcom/groupbyinc/flux/common/netty/channel/ChannelConfig;[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V % 9com/groupbyinc/flux/common/netty/util/internal/ObjectUtil j checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; l m
k n 6com/groupbyinc/flux/common/netty/channel/ChannelConfig p r t 8com/groupbyinc/flux/common/netty/channel/ChannelMetadata v E pipeline <()Lcom/groupbyinc/flux/common/netty/channel/ChannelPipeline; y z
{ 7com/groupbyinc/flux/common/netty/channel/ChannelHandler } ?(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;[Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)V 1
? 8com/groupbyinc/flux/common/netty/channel/ChannelPipeline ? addLast v([Lcom/groupbyinc/flux/common/netty/channel/ChannelHandler;)Lcom/groupbyinc/flux/common/netty/channel/ChannelPipeline; ? ? ? ? register l(Lcom/groupbyinc/flux/common/netty/channel/Channel;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ?
O ? / 0 ? 6com/groupbyinc/flux/common/netty/channel/ChannelFuture ? isDone ()Z ? ? ? ? java/lang/AssertionError ?
? P p :Lcom/groupbyinc/flux/common/netty/channel/ChannelPipeline; future 8Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; newChannelPipeline C()Lcom/groupbyinc/flux/common/netty/channel/DefaultChannelPipeline; ?(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;)V 1 ?
? <()Lcom/groupbyinc/flux/common/netty/channel/ChannelMetadata; :()Lcom/groupbyinc/flux/common/netty/channel/ChannelConfig; isOpen - . ? CLOSED ? .
? isActive ACTIVE ? .
? ()Ljava/util/Queue; ' ( ? java/util/ArrayDeque ?
? P lastInboundBuffer Ljava/lang/Deprecated; ' ?
? * ( ? lastOutboundBuffer * ?
? readInbound ()Ljava/lang/Object; poll %(Ljava/util/Queue;)Ljava/lang/Object; ? ?
? readOutbound writeInbound ([Ljava/lang/Object;)Z
ensureOpen ? 2
?
isNotEmpty (Ljava/util/Queue;)Z ? ?
? [Ljava/lang/Object; ? fireChannelRead N(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelPipeline; ? ? ? ? voidPromise ;()Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; ? ?
? flushInbound t(ZLcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ?
? m Ljava/lang/Object; msgs writeOneInbound L(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;
newPromise ? ?
? ?(Ljava/lang/Object;Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ?
? msg checkOpen (Z)Z ? ?
? checkException s(Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ?
? promise 9Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise; E()Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel; fireChannelReadComplete ? z ? ? runPendingTasks ? 2
? recordException
writeOutbound Bcom/groupbyinc/flux/common/netty/util/internal/RecyclableArrayList ? newInstance G(I)Lcom/groupbyinc/flux/common/netty/util/internal/RecyclableArrayList; ? ?
? ? java/lang/Object ? write ?
add (Ljava/lang/Object;)Z
? flushOutbound0 2
size ()I
? get (I)Ljava/lang/Object;
? ;(Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;)V ?
addListener ?(Lcom/groupbyinc/flux/common/netty/util/concurrent/GenericFutureListener;)Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? 2
recycle ?
? java/lang/Throwable i I futures DLcom/groupbyinc/flux/common/netty/util/internal/RecyclableArrayList; writeOneOutbound$ ?
% ?
'
flushOutbound flush 4()Lcom/groupbyinc/flux/common/netty/channel/Channel;*+
, finish. ?
/ finishAndReleaseAll close :()Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;23
4
releaseAll6 ?
7 releaseInbound releaseOutbound java/util/Queue; ? ?<= 8com/groupbyinc/flux/common/netty/util/ReferenceCountUtil? releaseA
@B queue finishPendingTasks (Z)V cancelScheduledTasksG 2
OH cancel2 ?
K
disconnectM ?
N
KEF
Q
N J ?
wT 7com/groupbyinc/flux/common/netty/channel/ChannelPromiseV isEmptyX ?<Y java/lang/Exception[ runTasks] 2
O^ (Ljava/lang/Throwable;)V ?`
a runScheduledTasks ()Jcd
Oe e Ljava/lang/Exception; runScheduledPendingTasks nextScheduledTaskjd
Ok isSuccessm ? ?n cause ()Ljava/lang/Throwable;pq ?r + , t v RMore than one exception was raised. Will report only the first one and log others.x Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerz warn *(Ljava/lang/String;Ljava/lang/Throwable;)V|}{~ isVoid? ?W? @com/groupbyinc/flux/common/netty/util/internal/PlatformDependent? throwException?`
??
setFailure P(Ljava/lang/Throwable;)Lcom/groupbyinc/flux/common/netty/channel/ChannelPromise;??W?
setSuccess? ?W? t ? ?
? (java/nio/channels/ClosedChannelException?
? P isCompatible 7(Lcom/groupbyinc/flux/common/netty/channel/EventLoop;)Z 4Lcom/groupbyinc/flux/common/netty/channel/EventLoop;
localAddress0 ()Ljava/net/SocketAddress; ? ?
? ? java/net/SocketAddress? remoteAddress0 ?
doRegister doBind (Ljava/net/SocketAddress;)V localAddress doDisconnect doClose? 2
? doBeginRead newUnsafe K()Lcom/groupbyinc/flux/common/netty/channel/AbstractChannel$AbstractUnsafe; ?(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel$1;)V 1?
? doWrite C(Lcom/groupbyinc/flux/common/netty/channel/ChannelOutboundBuffer;)V >com/groupbyinc/flux/common/netty/channel/ChannelOutboundBuffer? current? ?
?? retain &(Ljava/lang/Object;)Ljava/lang/Object;??
@? handleOutboundMessage (Ljava/lang/Object;)V??
? remove? ?
?? in @Lcom/groupbyinc/flux/common/netty/channel/ChannelOutboundBuffer;< handleInboundMessage
access$000 ~(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture;)V x0 x1
access$200 [(Lcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedChannel;Ljava/lang/Throwable;)V java/lang/Class? desiredAssertionStatus? ?
?? Gcom/groupbyinc/flux/common/netty/channel/embedded/EmbeddedSocketAddress?
? P Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory? getInstance Z(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
?? 1F
w? Signature Code LocalVariableTable LineNumberTable
StackMapTable '()Ljava/util/Queue;
Deprecated RuntimeVisibleAnnotations ()TT; LocalVariableTypeTable ((Ljava/util/Queue;)Z 9(Ljava/util/Queue;)Ljava/lang/Object;
Exceptions
SourceFile InnerClasses ! ! " # $ % &