class org.eclipse.jetty.io.ManagedSelector$Accept implements org.eclipse.jetty.io.ManagedSelector$SelectorUpdate, java.lang.Runnable, java.io.Closeable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.jetty.io.ManagedSelector$Accept
super_class: java.lang.Object
{
private final java.nio.channels.SelectableChannel channel;
descriptor: Ljava/nio/channels/SelectableChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object attachment;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.nio.channels.SelectionKey key;
descriptor: Ljava/nio/channels/SelectionKey;
flags: (0x0002) ACC_PRIVATE
final org.eclipse.jetty.io.ManagedSelector this$0;
descriptor: Lorg/eclipse/jetty/io/ManagedSelector;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.eclipse.jetty.io.ManagedSelector, java.nio.channels.SelectableChannel, java.lang.Object);
descriptor: (Lorg/eclipse/jetty/io/ManagedSelector;Ljava/nio/channels/SelectableChannel;Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
3: aload 0
aload 3
putfield org.eclipse.jetty.io.ManagedSelector$Accept.attachment:Ljava/lang/Object;
4: aload 1
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 2
invokevirtual org.eclipse.jetty.io.SelectorManager.onAccepting:(Ljava/nio/channels/SelectableChannel;)V
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
0 6 2 channel Ljava/nio/channels/SelectableChannel;
0 6 3 attachment Ljava/lang/Object;
MethodParameters:
Name Flags
this$0 final
channel
attachment
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 2
1: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "closed accept of {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
public void update(java.nio.channels.Selector);
descriptor: (Ljava/nio/channels/Selector;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 1
iconst_0
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.attachment:Ljava/lang/Object;
invokevirtual java.nio.channels.SelectableChannel.register:(Ljava/nio/channels/Selector;ILjava/lang/Object;)Ljava/nio/channels/SelectionKey;
putfield org.eclipse.jetty.io.ManagedSelector$Accept.key:Ljava/nio/channels/SelectionKey;
1: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
invokevirtual org.eclipse.jetty.io.ManagedSelector.execute:(Ljava/lang/Runnable;)V
2: goto 8
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 4: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
5: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 2
invokevirtual org.eclipse.jetty.io.SelectorManager.onAcceptFailed:(Ljava/nio/channels/SelectableChannel;Ljava/lang/Throwable;)V
6: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 8
7: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Could not register channel after accept {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 2
invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 2 8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
0 9 1 selector Ljava/nio/channels/Selector;
4 8 2 x Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
MethodParameters:
Name Flags
selector
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.key:Ljava/nio/channels/SelectionKey;
invokevirtual org.eclipse.jetty.io.ManagedSelector.createEndPoint:(Ljava/nio/channels/SelectableChannel;Ljava/nio/channels/SelectionKey;)V
1: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
invokevirtual org.eclipse.jetty.io.SelectorManager.onAccepted:(Ljava/nio/channels/SelectableChannel;)V
2: goto 5
3: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
start local 1 4: aload 0
aload 1
invokevirtual org.eclipse.jetty.io.ManagedSelector$Accept.failed:(Ljava/lang/Throwable;)V
end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
4 5 1 x Ljava/lang/Throwable;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
protected void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
invokestatic org.eclipse.jetty.util.IO.close:(Ljava/io/Closeable;)V
1: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
invokeinterface org.slf4j.Logger.isDebugEnabled:()Z
ifeq 3
2: getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Could not accept {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 1
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
goto 4
3: StackMap locals:
StackMap stack:
getstatic org.eclipse.jetty.io.ManagedSelector.LOG:Lorg/slf4j/Logger;
ldc "Could not accept {}: {}"
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.this$0:Lorg/eclipse/jetty/io/ManagedSelector;
getfield org.eclipse.jetty.io.ManagedSelector._selectorManager:Lorg/eclipse/jetty/io/SelectorManager;
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aload 1
invokevirtual org.eclipse.jetty.io.SelectorManager.onAcceptFailed:(Ljava/nio/channels/SelectableChannel;Ljava/lang/Throwable;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
0 6 1 failure Ljava/lang/Throwable;
MethodParameters:
Name Flags
failure
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "%s@%x[%s]"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.eclipse.jetty.io.ManagedSelector$Accept.channel:Ljava/nio/channels/SelectableChannel;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/io/ManagedSelector$Accept;
}
SourceFile: "ManagedSelector.java"
NestHost: org.eclipse.jetty.io.ManagedSelector
InnerClasses:
Accept = org.eclipse.jetty.io.ManagedSelector$Accept of org.eclipse.jetty.io.ManagedSelector
public abstract SelectorUpdate = org.eclipse.jetty.io.ManagedSelector$SelectorUpdate of org.eclipse.jetty.io.ManagedSelector