io.netty.channel.local.LocalServerChannel.class Maven / Gradle / Ivy
???? 2 ? )io/netty/channel/local/LocalServerChannel &io/netty/channel/AbstractServerChannel LocalServerChannel.java +io/netty/channel/local/LocalServerChannel$2 +io/netty/channel/local/LocalServerChannel$1 config Lio/netty/channel/ChannelConfig;
inboundBuffer Ljava/util/Queue; %Ljava/util/Queue; shutdownHook Ljava/lang/Runnable; state I localAddress %Lio/netty/channel/local/LocalAddress; acceptInProgress Z ()V
%io/netty/channel/DefaultChannelConfig (Lio/netty/channel/Channel;)V
java/util/ArrayDeque "
#
% .(Lio/netty/channel/local/LocalServerChannel;)V '
( * "()Lio/netty/channel/ChannelConfig;
,
- 1io/netty/channel/local/PreferHeapByteBufAllocator / io/netty/channel/ChannelConfig 1 getAllocator $()Lio/netty/buffer/ByteBufAllocator; 3 4 2 5 %(Lio/netty/buffer/ByteBufAllocator;)V 7
0 8 setAllocator D(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/channel/ChannelConfig; : ; 2 < this +Lio/netty/channel/local/LocalServerChannel; '()Lio/netty/channel/local/LocalAddress; ()Ljava/net/SocketAddress; A
B #io/netty/channel/local/LocalAddress D
remoteAddress F A
G isOpen ()Z K isActive isCompatible (Lio/netty/channel/EventLoop;)Z &io/netty/channel/SingleThreadEventLoop P loop Lio/netty/channel/EventLoop;
localAddress0 U
doRegister java/lang/Exception X eventLoop ()Lio/netty/channel/EventLoop; Z [
\ 2io/netty/util/concurrent/SingleThreadEventExecutor ^ addShutdownHook (Ljava/lang/Runnable;)V ` a
_ b doBind (Ljava/net/SocketAddress;)V +io/netty/channel/local/LocalChannelRegistry f register ~(Lio/netty/channel/Channel;Lio/netty/channel/local/LocalAddress;Ljava/net/SocketAddress;)Lio/netty/channel/local/LocalAddress; h i
g j Ljava/net/SocketAddress; doClose
unregister ((Lio/netty/channel/local/LocalAddress;)V n o
g p doDeregister removeShutdownHook s a
_ t doBeginRead w java/util/Queue y isEmpty { J z | pipeline $()Lio/netty/channel/ChannelPipeline; ~
? io/netty/channel/ChannelPipeline ? poll ()Ljava/lang/Object; ? ? z ? java/lang/Object ? fireChannelRead 6(Ljava/lang/Object;)Lio/netty/channel/ChannelPipeline; ? ? ? ? fireChannelReadComplete ? ? ? m Ljava/lang/Object; "Lio/netty/channel/ChannelPipeline; serve L(Lio/netty/channel/local/LocalChannel;)Lio/netty/channel/local/LocalChannel; newLocalChannel ? ?
? io/netty/channel/EventLoop ? inEventLoop ? J ? ? serve0 ((Lio/netty/channel/local/LocalChannel;)V ? ?
? #io/netty/channel/local/LocalChannel ? S(Lio/netty/channel/local/LocalServerChannel;Lio/netty/channel/local/LocalChannel;)V ?
? execute ? a ? ? peer %Lio/netty/channel/local/LocalChannel; child
? ? add (Ljava/lang/Object;)Z ? ? z ? F @
? @
?
access$000 x0 x1 Signature Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions LocalVariableTypeTable
SourceFile InnerClasses !
? B B B ? ? B*? *? Y*? ? !*? #Y? $? &*? Y*? )? +*? .? 0Y*? !? 6 ? 9? = W? ? B > ? ? 1 $ % &