classes.io.netty.channel.socket.nio.NioSocketChannel.class Maven / Gradle / Ivy
???? 2?
n
n
n
n
n
n
n
n
n
n
q
n
q
q
n
!"
n#
!$
q%&
q'
n(
n)
n*+
%,-
'./0
n1234
,.20
n56
0.7
2.
n89
5.:
7.
n;<=><?
@A
B
!C
nD
E
!F nGHIJ
!K
!L
nM
N
!O
P
nQ
RS
nT
UV
PW
qT
XYZ
[\ ?] ?^
[_
[`
[abcbd
ef
ng
eh
ei
ej
qk
nlmn
o
p
eq
nr
%s
nt
nu
nv
nwx
yz
{|} NioSocketChannelConfig InnerClasses NioSocketChannelUnsafe logger /Lio/netty/util/internal/logging/InternalLogger; DEFAULT_SELECTOR_PROVIDER (Ljava/nio/channels/spi/SelectorProvider; config -Lio/netty/channel/socket/SocketChannelConfig; newSocket K(Ljava/nio/channels/spi/SelectorProvider;)Ljava/nio/channels/SocketChannel; Code LineNumberTable LocalVariableTable e Ljava/io/IOException; provider
StackMapTable ()V this .Lio/netty/channel/socket/nio/NioSocketChannel; +(Ljava/nio/channels/spi/SelectorProvider;)V $(Ljava/nio/channels/SocketChannel;)V socket !Ljava/nio/channels/SocketChannel; >(Lio/netty/channel/Channel;Ljava/nio/channels/SocketChannel;)V parent Lio/netty/channel/Channel; /()Lio/netty/channel/socket/ServerSocketChannel; /()Lio/netty/channel/socket/SocketChannelConfig; javaChannel #()Ljava/nio/channels/SocketChannel; isActive ()Z ch isOutputShutdown isInputShutdown
isShutdown Ljava/net/Socket;~ localAddress ()Ljava/net/InetSocketAddress;
remoteAddress shutdownOutput "()Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; loop Lio/netty/channel/EventLoop; promise !Lio/netty/channel/ChannelPromise;
closeExecutor Ljava/util/concurrent/Executor;?
shutdownInput shutdown shutdownOutput0 $(Lio/netty/channel/ChannelPromise;)V t Ljava/lang/Throwable;>
Exceptions? shutdownInput0 shutdown0 causex?
localAddress0 ()Ljava/net/SocketAddress; remoteAddress0 doBind (Ljava/net/SocketAddress;)V Ljava/net/SocketAddress; doBind0 doConnect 3(Ljava/net/SocketAddress;Ljava/net/SocketAddress;)Z connected Z success? doFinishConnect doDisconnect doClose doReadBytes (Lio/netty/buffer/ByteBuf;)I byteBuf Lio/netty/buffer/ByteBuf; allocHandle? Handle .Lio/netty/channel/RecvByteBufAllocator$Handle; doWriteBytes buf expectedWrittenBytes I doWriteFileRegion (Lio/netty/channel/FileRegion;)J region Lio/netty/channel/FileRegion; position J doWrite +(Lio/netty/channel/ChannelOutboundBuffer;)V localWrittenBytes i nioBuffer Ljava/nio/ByteBuffer; size writtenBytes done
setOpWrite
nioBuffers [Ljava/nio/ByteBuffer; nioBufferCnt in (Lio/netty/channel/ChannelOutboundBuffer;? ?? newUnsafe? AbstractNioUnsafe =()Lio/netty/channel/nio/AbstractNioChannel$AbstractNioUnsafe; '()Ljava/nio/channels/SelectableChannel;? AbstractUnsafe 3()Lio/netty/channel/AbstractChannel$AbstractUnsafe; ()Lio/netty/channel/Channel; "()Lio/netty/channel/ChannelConfig;
access$100 R(Lio/netty/channel/socket/nio/NioSocketChannel;Lio/netty/channel/ChannelPromise;)V x0 x1
access$200
access$300
access$500 1(Lio/netty/channel/socket/nio/NioSocketChannel;)V
access$600
SourceFile NioSocketChannel.java? ?? ? ? ? ? ? ? ??? ? java/io/IOException !io/netty/channel/ChannelException Failed to open a socket. ?? y z ? ? } ~ ? ? ? ? ?? Cio/netty/channel/socket/nio/NioSocketChannel$NioSocketChannelConfig ?? ?? { | ? ? +io/netty/channel/socket/ServerSocketChannel ? ? java/nio/channels/SocketChannel ? ?? ?? ?~ ? ? ? ? ? ? ? ? java/net/InetSocketAddress ? ??? ? ??? Cio/netty/channel/socket/nio/NioSocketChannel$NioSocketChannelUnsafe?? .io/netty/channel/socket/nio/NioSocketChannel$1 ? ??????? ? .io/netty/channel/socket/nio/NioSocketChannel$2 ? ? .io/netty/channel/socket/nio/NioSocketChannel$3 .io/netty/channel/socket/nio/NioSocketChannel$4 ? ? .io/netty/channel/socket/nio/NioSocketChannel$5 .io/netty/channel/socket/nio/NioSocketChannel$6 ? ???? java/lang/Throwable????? ? ? ? ? ? ? ? ? ? ? w x ;Exception suppressed because a previous exception occurred.???? ?? ? ? ???? ???????? ? ?? ? java/lang/Error ? ?? ??????????????????????? ??? ? ?????? ? ? { ???????????? ?? ? ? ? ? ? ? ? ? ,io/netty/channel/socket/nio/NioSocketChannel??? ?? +io/netty/channel/nio/AbstractNioByteChannel %io/netty/channel/socket/SocketChannel java/net/Socket java/util/concurrent/Executor io/netty/channel/EventLoop java/lang/Exception io/netty/channel/ChannelPromise java/net/SocketAddress? ,io/netty/channel/RecvByteBufAllocator$Handle &io/netty/channel/ChannelOutboundBuffer java/nio/ByteBuffer? 9io/netty/channel/nio/AbstractNioChannel$AbstractNioUnsafe? /io/netty/channel/AbstractChannel$AbstractUnsafe clearReadPending doDeregister &java/nio/channels/spi/SelectorProvider openSocketChannel *(Ljava/lang/String;Ljava/lang/Throwable;)V B(Lio/netty/channel/Channel;Ljava/nio/channels/SelectableChannel;)V ()Ljava/net/Socket; ?(Lio/netty/channel/socket/nio/NioSocketChannel;Lio/netty/channel/socket/nio/NioSocketChannel;Ljava/net/Socket;Lio/netty/channel/socket/nio/NioSocketChannel$1;)V isOpen isConnected
newPromise #()Lio/netty/channel/ChannelPromise; unsafe NioUnsafe 5()Lio/netty/channel/nio/AbstractNioChannel$NioUnsafe; prepareToClose !()Ljava/util/concurrent/Executor; execute (Ljava/lang/Runnable;)V eventLoop %()Lio/netty/channel/nio/NioEventLoop; inEventLoop
setSuccess
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; (io/netty/util/internal/PlatformDependent javaVersion ()I -io/netty/util/internal/logging/InternalLogger debug getLocalSocketAddress getRemoteSocketAddress bind ;(Ljava/net/SocketAddress;)Ljava/nio/channels/SocketChannel; connect (Ljava/net/SocketAddress;)Z selectionKey "()Ljava/nio/channels/SelectionKey; java/nio/channels/SelectionKey interestOps #(I)Ljava/nio/channels/SelectionKey;
finishConnect close 1io/netty/channel/nio/AbstractNioChannel$NioUnsafe recvBufAllocHandle 0()Lio/netty/channel/RecvByteBufAllocator$Handle; io/netty/buffer/ByteBuf
writableBytes attemptedBytesRead (I)V
writeBytes -(Ljava/nio/channels/ScatteringByteChannel;I)I
readableBytes readBytes ,(Ljava/nio/channels/GatheringByteChannel;I)I io/netty/channel/FileRegion transferred ()J
transferTo +(Ljava/nio/channels/WritableByteChannel;J)J clearOpWrite ()[Ljava/nio/ByteBuffer; nioBufferCount
nioBufferSize +io/netty/channel/socket/SocketChannelConfig getWriteSpinCount write (Ljava/nio/ByteBuffer;)I ([Ljava/nio/ByteBuffer;II)J removeBytes (J)V incompleteWrite (Z)V a(Lio/netty/channel/socket/nio/NioSocketChannel;Lio/netty/channel/socket/nio/NioSocketChannel$1;)V 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; *()Ljava/nio/channels/spi/SelectorProvider; %io/netty/channel/RecvByteBufAllocator 'io/netty/channel/nio/AbstractNioChannel io/netty/channel/AbstractChannel ! n q r w x y z { | 2
} ~ a *? ?L? Y +?
? ? > ? @ ? ? ? ? z ? E ? ? ? 6 *? ? ? ?
J K ? ? ? ? ? A *+?
? ? ?
Q R ? ? ? ? z ? ? ? *+? ? ?
X Y ? ? ? ? ? ? ? _ *+,? *? Y**,? ? ? ? ? b c d ? ? ? ? ? ? ? ? ? 2 *? ? ? ? h ? ? ? { ? / *? ? ? m ? ? ? ? ? 2 *? ? ? ? r ? ? ? ? ? a *? L+? ? +? ? ? ? ?
w x ? ? ? ? ? ?
? ?@ ? ? P *? ? ? ?
*? ? ? ? ? } ? ? ? ? @ ? ? P *? ? ? ?
*? ? ? ? ? ? ? ? ? ? @ ? ? m #*? ? L+? ?
+? ?
*? ? ? ? ?
? ? ? # ? ? ? ? ? ? ?@ ? ? 2 *? ? ? ? ? ? ? ? ? ? 2 *? !? ? ? ? ? ? ? ? ? 3 **? "? #? ? ? ? ? ? ? ? ? H*? $? %? &M,? ,? 'Y*+? (? ) ? (*? *N-? + ? *+? ? -? ,Y*+? -? . +? ? " ? ? ? ! ? &