
META-INF.modules.java.base.classes.sun.nio.ch.UnixAsynchronousServerSocketChannelImpl.class Maven / Gradle / Ivy
???? :@ 2sun/nio/ch/UnixAsynchronousServerSocketChannelImpl accepting +Ljava/util/concurrent/atomic/AtomicBoolean;
)java/util/concurrent/atomic/AtomicBoolean set (Z)V
.sun/nio/ch/AsynchronousServerSocketChannelImpl ,(Lsun/nio/ch/AsynchronousChannelGroupImpl;)V
()V java/lang/Object
updateLock Ljava/lang/Object; fd Ljava/io/FileDescriptor;
" # $ % & sun/nio/ch/IOUtil configureBlocking (Ljava/io/FileDescriptor;Z)V ( java/io/IOException * + , nd Lsun/nio/ch/NativeDispatcher;
. / 0 1 2 sun/nio/ch/NativeDispatcher close (Ljava/io/FileDescriptor;)V 4 5 6 port Lsun/nio/ch/Port;
" 8 9 : fdVal (Ljava/io/FileDescriptor;)I < 9 = I
? @ A B C sun/nio/ch/Port register %(ILsun/nio/ch/Port$PollableChannel;)V
? E F G
unregister (I)V I J K
acceptPending Z M N O
acceptHandler %Ljava/nio/channels/CompletionHandler; Q R acceptAttachment T U V acceptFuture Lsun/nio/ch/PendingFuture; X ,java/nio/channels/AsynchronousCloseException
W [ java/lang/StackTraceElement
W ] ^ _
setStackTrace !([Ljava/lang/StackTraceElement;)V
a b c d e sun/nio/ch/PendingFuture
setFailure (Ljava/lang/Throwable;)V
g h i j k sun/nio/ch/Invoker invokeIndirectly ?(Ljava/nio/channels/AsynchronousChannel;Ljava/nio/channels/CompletionHandler;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Throwable;)V m java/io/FileDescriptor
l p java/net/InetSocketAddress
r s begin
u v w x y sun/nio/ch/Net accept P(Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;[Ljava/net/InetSocketAddress;)I { sun/nio/ch/IOStatus u } ~ POLLIN S
? ? ? ? startPoll (II)V
? ? end ? java/lang/Throwable ? (java/nio/channels/ClosedChannelException ? ? ? acceptAcc $Ljava/security/AccessControlContext;
? ? ? finishAccept ?(Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;Ljava/security/AccessControlContext;)Ljava/nio/channels/AsynchronousSocketChannel; ? java/lang/SecurityException
' ? e
? ? enableAccept
a ? ? ? setResult *(Ljava/lang/Object;Ljava/lang/Throwable;)V
a ? ? ? isCancelled ()Z
? ? ? 1 +java/nio/channels/AsynchronousSocketChannel
g ? ? k invoke ? ,sun/nio/ch/UnixAsynchronousSocketChannelImpl
? ? ? H(Lsun/nio/ch/Port;Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;)V ? 4sun/nio/ch/UnixAsynchronousServerSocketChannelImpl$1
? ? ? S(Lsun/nio/ch/UnixAsynchronousServerSocketChannelImpl;Ljava/net/InetSocketAddress;)V
? ? ? ? ? java/security/AccessController doPrivileged X(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
? ? ? ? ? java/lang/System getSecurityManager ()Ljava/lang/SecurityManager;
o ? ? ?
getAddress ()Ljava/net/InetAddress;
? ? ? ? ? java/net/InetAddress getHostAddress ()Ljava/lang/String;
o ? ? ? getPort ()I
? ? ? ? ? java/lang/SecurityManager checkAccept (Ljava/lang/String;I)V
? ? ? e
addSuppressed
? ? ? isOpen
?
? ? ? ? ? sun/nio/ch/CompletedFuture withFailure 3(Ljava/lang/Throwable;)Lsun/nio/ch/CompletedFuture; ? ? ? localAddress Ljava/net/InetSocketAddress; ? &java/nio/channels/NotYetBoundException
?
? ? ? isAcceptKilled ? java/lang/RuntimeException ? #Accept not allowed due cancellation
? ? ? (Ljava/lang/String;)V
? ? ?
compareAndSet (ZZ)Z ? (java/nio/channels/AcceptPendingException
?
a ? ? *(Ljava/nio/channels/AsynchronousChannel;)V
? ? ? ?
getContext &()Ljava/security/AccessControlContext;
?
withResult E(Ljava/lang/Object;Ljava/lang/Throwable;)Lsun/nio/ch/CompletedFuture; sun/nio/ch/SocketDispatcher
sun/nio/ch/Port$PollableChannel Signature fLjava/nio/channels/CompletionHandler; [Lsun/nio/ch/PendingFuture; Code LineNumberTable LocalVariableTable this 4Lsun/nio/ch/UnixAsynchronousServerSocketChannelImpl; (Lsun/nio/ch/Port;)V x Ljava/io/IOException;
StackMapTable
Exceptions implClose handler att future .Ljava/nio/channels/AsynchronousCloseException; LocalVariableTypeTable #java/nio/channels/CompletionHandler group +()Lsun/nio/ch/AsynchronousChannelGroupImpl; onEvent (IZ)V n Ljava/lang/Throwable; events mayInvokeDirect newfd isaa [Ljava/net/InetSocketAddress; exc child -Ljava/nio/channels/AsynchronousSocketChannel;' sm Ljava/lang/SecurityManager;
suppressed Ljava/lang/SecurityException; remote acc ch4 "java/security/AccessControlContext
implAccept V(Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future; e result ?(Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)Ljava/util/concurrent/Future;
SourceFile ,UnixAsynchronousServerSocketChannelImpl.java NestMembers InnerClasses PollableChannel
+ , 5 6 9 = J K N O R U V
? ? ? 7 *? ? ?
6 7
? M*+?
*? Y? ? *? Y? ? *? ? !? M? )*? ? -,?*+? 3**? ? 7? ;+*? ;*? >? # &