class org.xnio.ChannelListeners$17 implements org.xnio.ChannelListener<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.ChannelListeners$17
super_class: java.lang.Object
{
private final org.xnio.Pooled val$pooled;
descriptor: Lorg/xnio/Pooled;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.xnio.ChannelExceptionHandler val$exceptionHandler;
descriptor: Lorg/xnio/ChannelExceptionHandler;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.xnio.ChannelListener val$delegate;
descriptor: Lorg/xnio/ChannelListener;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.xnio.Pooled, org.xnio.ChannelExceptionHandler, org.xnio.ChannelListener);
descriptor: (Lorg/xnio/Pooled;Lorg/xnio/ChannelExceptionHandler;Lorg/xnio/ChannelListener;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
aload 0
aload 2
putfield org.xnio.ChannelListeners$17.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 0
aload 3
putfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ChannelListeners$17;
MethodParameters:
Name Flags
val$pooled final
val$exceptionHandler final
val$delegate final
public void handleEvent();
descriptor: (Lorg/xnio/channels/StreamSinkChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 1: iconst_0
istore 4
start local 4 2: StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int
StackMap stack:
aload 1
aload 2
invokeinterface org.xnio.channels.StreamSinkChannel.write:(Ljava/nio/ByteBuffer;)I
istore 3
start local 3 3: iconst_1
istore 4
4: goto 16
end local 3 StackMap locals:
StackMap stack: java.io.IOException
5: astore 5
start local 5 6: aload 1
invokeinterface org.xnio.channels.StreamSinkChannel.suspendWrites:()V
7: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
8: aload 1
aload 0
getfield org.xnio.ChannelListeners$17.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 5
invokestatic org.xnio.ChannelListeners.invokeChannelExceptionHandler:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelExceptionHandler;Ljava/io/IOException;)V
9: iload 4
ifne 11
10: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
11: StackMap locals: java.io.IOException
StackMap stack:
return
end local 5 12: StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int
StackMap stack: java.lang.Throwable
astore 6
13: iload 4
ifne 15
14: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
15: StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer top int top java.lang.Throwable
StackMap stack:
aload 6
athrow
start local 3 16: StackMap locals: org.xnio.ChannelListeners$17 org.xnio.channels.StreamSinkChannel java.nio.ByteBuffer int int
StackMap stack:
iload 4
ifne 18
17: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
18: StackMap locals:
StackMap stack:
iload 3
ifne 22
19: aload 1
aload 0
invokestatic org.xnio.channels.Channels.setWriteListener:(Lorg/xnio/channels/SuspendableWriteChannel;Lorg/xnio/ChannelListener;)V
20: aload 1
invokeinterface org.xnio.channels.StreamSinkChannel.resumeWrites:()V
21: return
22: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifne 2
23: aload 0
getfield org.xnio.ChannelListeners$17.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
24: aload 1
aload 0
getfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
invokestatic org.xnio.ChannelListeners.invokeChannelListener:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelListener;)Z
pop
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/xnio/ChannelListeners$17;
0 26 1 channel TT;
1 26 2 buffer Ljava/nio/ByteBuffer;
3 5 3 result I
16 26 3 result I
2 26 4 ok Z
6 12 5 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
2 9 12 any
Signature: (TT;)V
MethodParameters:
Name Flags
channel final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Writing channel listener -> "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.ChannelListeners$17.val$delegate:Lorg/xnio/ChannelListener;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/xnio/ChannelListeners$17;
public void handleEvent(java.nio.channels.Channel);
descriptor: (Ljava/nio/channels/Channel;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.xnio.channels.StreamSinkChannel
invokevirtual org.xnio.ChannelListeners$17.handleEvent:(Lorg/xnio/channels/StreamSinkChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<TT;>;
SourceFile: "ChannelListeners.java"
EnclosingMethod: org.xnio.ChannelListeners.writingChannelListener:(Lorg/xnio/Pooled;Lorg/xnio/ChannelListener;Lorg/xnio/ChannelExceptionHandler;)Lorg/xnio/ChannelListener;
NestHost: org.xnio.ChannelListeners
InnerClasses:
org.xnio.ChannelListeners$17