io.netty.channel.embedded.EmbeddedChannel.class Maven / Gradle / Ivy
???? 2? )io/netty/channel/embedded/EmbeddedChannel io/netty/channel/AbstractChannel EmbeddedChannel.java Aio/netty/channel/embedded/EmbeddedChannel$EmbeddedChannelPipeline EmbeddedChannelPipeline 7io/netty/channel/embedded/EmbeddedChannel$DefaultUnsafe
DefaultUnsafe /io/netty/channel/embedded/EmbeddedChannel$State State +io/netty/channel/embedded/EmbeddedChannel$2 +io/netty/channel/embedded/EmbeddedChannel$1 /io/netty/channel/AbstractChannel$AbstractUnsafe AbstractUnsafe
LOCAL_ADDRESS Ljava/net/SocketAddress; REMOTE_ADDRESS EMPTY_HANDLERS "[Lio/netty/channel/ChannelHandler; logger /Lio/netty/util/internal/logging/InternalLogger; METADATA_NO_DISCONNECT "Lio/netty/channel/ChannelMetadata; METADATA_DISCONNECT loop -Lio/netty/channel/embedded/EmbeddedEventLoop; recordExceptionListener (Lio/netty/channel/ChannelFutureListener; metadata config Lio/netty/channel/ChannelConfig; inboundMessages Ljava/util/Queue; %Ljava/util/Queue; outboundMessages
lastException Ljava/lang/Throwable; state 1Lio/netty/channel/embedded/EmbeddedChannel$State; $assertionsDisabled Z ()V 3 %([Lio/netty/channel/ChannelHandler;)V 1 5
6 this +Lio/netty/channel/embedded/EmbeddedChannel; (Lio/netty/channel/ChannelId;)V A(Lio/netty/channel/ChannelId;[Lio/netty/channel/ChannelHandler;)V 1 ;
< channelId Lio/netty/channel/ChannelId; +io/netty/channel/embedded/EmbeddedChannelId @ INSTANCE B ? A C handlers &(Z[Lio/netty/channel/ChannelHandler;)V B(Lio/netty/channel/ChannelId;Z[Lio/netty/channel/ChannelHandler;)V 1 G
H
hasDisconnect 9(Lio/netty/channel/Channel;Lio/netty/channel/ChannelId;)V 1 K
L +io/netty/channel/embedded/EmbeddedEventLoop N 1 2
O P ! R .(Lio/netty/channel/embedded/EmbeddedChannel;)V 1 T
U " # W %(Z)Lio/netty/channel/ChannelMetadata; $ Y
Z $ \ %io/netty/channel/DefaultChannelConfig ^ (Lio/netty/channel/Channel;)V 1 `
_ a % & c setup e 5
f b(Lio/netty/channel/ChannelId;ZLio/netty/channel/ChannelConfig;[Lio/netty/channel/ChannelHandler;)V % !io/netty/util/internal/ObjectUtil j checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; l m
k n io/netty/channel/ChannelConfig p r t io/netty/channel/ChannelMetadata v E pipeline $()Lio/netty/channel/ChannelPipeline; y z
{ io/netty/channel/ChannelHandler } P(Lio/netty/channel/embedded/EmbeddedChannel;[Lio/netty/channel/ChannelHandler;)V 1
? io/netty/channel/ChannelPipeline ? addLast F([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; ? ? ? ? register <(Lio/netty/channel/Channel;)Lio/netty/channel/ChannelFuture; ? ?
O ? / 0 ? io/netty/channel/ChannelFuture ? isDone ()Z ? ? ? ? java/lang/AssertionError ?
? P p "Lio/netty/channel/ChannelPipeline; future Lio/netty/channel/ChannelFuture; newChannelPipeline +()Lio/netty/channel/DefaultChannelPipeline; Y(Lio/netty/channel/embedded/EmbeddedChannel;Lio/netty/channel/embedded/EmbeddedChannel;)V 1 ?
? $()Lio/netty/channel/ChannelMetadata; "()Lio/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 6(Ljava/lang/Object;)Lio/netty/channel/ChannelPipeline; ? ? ? ? voidPromise #()Lio/netty/channel/ChannelPromise; ? ?
? flushInbound D(ZLio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? m Ljava/lang/Object; msgs writeOneInbound 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
newPromise ? ?
? U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? msg checkOpen (Z)Z ? ?
? checkException C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? promise !Lio/netty/channel/ChannelPromise; -()Lio/netty/channel/embedded/EmbeddedChannel; fireChannelReadComplete ? z ? ? runPendingTasks ? 2
? recordException
writeOutbound *io/netty/util/internal/RecyclableArrayList ? newInstance /(I)Lio/netty/util/internal/RecyclableArrayList; ? ?
? ? java/lang/Object ? write ?
add (Ljava/lang/Object;)Z
? flushOutbound0 2
size ()I
? get (I)Ljava/lang/Object;
? #(Lio/netty/channel/ChannelFuture;)V ?
addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; ? ? 2
recycle ?
? java/lang/Throwable i I futures ,Lio/netty/util/internal/RecyclableArrayList; writeOneOutbound$ ?
% ?
'
flushOutbound flush ()Lio/netty/channel/Channel;*+
, finish. ?
/ finishAndReleaseAll close "()Lio/netty/channel/ChannelFuture;23
4
releaseAll6 ?
7 releaseInbound releaseOutbound java/util/Queue; ? ?<= io/netty/util/ReferenceCountUtil? releaseA
@B queue finishPendingTasks (Z)V cancelScheduledTasksG 2
OH cancel2 ?
K
disconnectM ?
N
KEF
Q
N J ?
wT io/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 -io/netty/util/internal/logging/InternalLoggerz warn *(Ljava/lang/String;Ljava/lang/Throwable;)V|}{~ isVoid? ?W? (io/netty/util/internal/PlatformDependent? throwException?`
??
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise;??W?
setSuccess? ?W? t ? ?
? (java/nio/channels/ClosedChannelException?
? P isCompatible (Lio/netty/channel/EventLoop;)Z Lio/netty/channel/EventLoop;
localAddress0 ()Ljava/net/SocketAddress; ? ?
? ? java/net/SocketAddress? remoteAddress0 ?
doRegister doBind (Ljava/net/SocketAddress;)V localAddress doDisconnect doClose? 2
? doBeginRead newUnsafe 3()Lio/netty/channel/AbstractChannel$AbstractUnsafe; [(Lio/netty/channel/embedded/EmbeddedChannel;Lio/netty/channel/embedded/EmbeddedChannel$1;)V 1?
? doWrite +(Lio/netty/channel/ChannelOutboundBuffer;)V &io/netty/channel/ChannelOutboundBuffer? current? ?
?? retain &(Ljava/lang/Object;)Ljava/lang/Object;??
@? handleOutboundMessage (Ljava/lang/Object;)V??
? remove? ?
?? in (Lio/netty/channel/ChannelOutboundBuffer;< handleInboundMessage
access$000 N(Lio/netty/channel/embedded/EmbeddedChannel;Lio/netty/channel/ChannelFuture;)V x0 x1
access$200 C(Lio/netty/channel/embedded/EmbeddedChannel;Ljava/lang/Throwable;)V java/lang/Class? desiredAssertionStatus? ?
?? /io/netty/channel/embedded/EmbeddedSocketAddress?
? P 4io/netty/util/internal/logging/InternalLoggerFactory? getInstance B(Ljava/lang/Class;)Lio/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 ! ! " # $ % &