class org.xnio.ChannelListeners$20 implements org.xnio.ChannelListener<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.ChannelListeners$20
super_class: java.lang.Object
{
private long p;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long cnt;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private final java.nio.channels.FileChannel val$target;
descriptor: Ljava/nio/channels/FileChannel;
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>(long, long, java.nio.channels.FileChannel, org.xnio.ChannelExceptionHandler, org.xnio.ChannelListener);
descriptor: (JJLjava/nio/channels/FileChannel;Lorg/xnio/ChannelExceptionHandler;Lorg/xnio/ChannelListener;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=6
start local 0 0: aload 0
aload 5
putfield org.xnio.ChannelListeners$20.val$target:Ljava/nio/channels/FileChannel;
aload 0
aload 6
putfield org.xnio.ChannelListeners$20.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 0
aload 7
putfield org.xnio.ChannelListeners$20.val$delegate:Lorg/xnio/ChannelListener;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield org.xnio.ChannelListeners$20.p:J
2: aload 0
lload 3
putfield org.xnio.ChannelListeners$20.cnt:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/xnio/ChannelListeners$20;
MethodParameters:
Name Flags
val$position final
val$count final
val$target final
val$exceptionHandler final
val$delegate final
public void handleEvent();
descriptor: (Lorg/xnio/channels/StreamSourceChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ChannelListeners$20.cnt:J
lstore 4
start local 4 1: aload 0
getfield org.xnio.ChannelListeners$20.p:J
lstore 6
start local 6 2: StackMap locals: org.xnio.ChannelListeners$20 org.xnio.channels.StreamSourceChannel top top long long
StackMap stack:
aload 1
lload 6
lload 4
aload 0
getfield org.xnio.ChannelListeners$20.val$target:Ljava/nio/channels/FileChannel;
invokeinterface org.xnio.channels.StreamSourceChannel.transferTo:(JJLjava/nio/channels/FileChannel;)J
lstore 2
start local 2 3: goto 9
end local 2 StackMap locals:
StackMap stack: java.io.IOException
4: astore 8
start local 8 5: aload 1
aload 0
getfield org.xnio.ChannelListeners$20.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 8
invokestatic org.xnio.ChannelListeners.invokeChannelExceptionHandler:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelExceptionHandler;Ljava/io/IOException;)V
6: aload 0
lload 6
putfield org.xnio.ChannelListeners$20.p:J
7: aload 0
lload 4
putfield org.xnio.ChannelListeners$20.cnt:J
8: return
end local 8 start local 2 9: StackMap locals: org.xnio.ChannelListeners$20 org.xnio.channels.StreamSourceChannel long long long
StackMap stack:
lload 2
lconst_0
lcmp
ifne 15
10: aload 1
aload 0
invokestatic org.xnio.channels.Channels.setReadListener:(Lorg/xnio/channels/SuspendableReadChannel;Lorg/xnio/ChannelListener;)V
11: aload 1
invokeinterface org.xnio.channels.StreamSourceChannel.resumeReads:()V
12: aload 0
lload 6
putfield org.xnio.ChannelListeners$20.p:J
13: aload 0
lload 4
putfield org.xnio.ChannelListeners$20.cnt:J
14: return
15: StackMap locals:
StackMap stack:
lload 6
lload 2
ladd
lstore 6
16: lload 4
lload 2
lsub
lstore 4
17: lload 4
lconst_0
18: lcmp
ifgt 2
19: aload 1
aload 0
getfield org.xnio.ChannelListeners$20.val$delegate:Lorg/xnio/ChannelListener;
invokestatic org.xnio.ChannelListeners.invokeChannelListener:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelListener;)Z
pop
20: aload 0
lload 6
putfield org.xnio.ChannelListeners$20.p:J
21: aload 0
lload 4
putfield org.xnio.ChannelListeners$20.cnt:J
22: return
end local 2 23: StackMap locals: org.xnio.ChannelListeners$20 org.xnio.channels.StreamSourceChannel top top long long
StackMap stack: java.lang.Throwable
astore 9
24: aload 0
lload 6
putfield org.xnio.ChannelListeners$20.p:J
25: aload 0
lload 4
putfield org.xnio.ChannelListeners$20.cnt:J
26: aload 9
athrow
end local 6 end local 4 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/xnio/ChannelListeners$20;
0 27 1 channel TT;
3 4 2 result J
9 23 2 result J
1 27 4 cnt J
2 27 6 p J
5 9 8 e Ljava/io/IOException;
Exception table:
from to target type
2 3 4 Class java.io.IOException
2 6 23 any
9 12 23 any
15 20 23 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 "File receiving channel listener ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.ChannelListeners$20.val$target:Ljava/nio/channels/FileChannel;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.xnio.ChannelListeners$20.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$20;
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.StreamSourceChannel
invokevirtual org.xnio.ChannelListeners$20.handleEvent:(Lorg/xnio/channels/StreamSourceChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<TT;>;
SourceFile: "ChannelListeners.java"
EnclosingMethod: org.xnio.ChannelListeners.fileReceivingChannelListener:(Ljava/nio/channels/FileChannel;JJLorg/xnio/ChannelListener;Lorg/xnio/ChannelExceptionHandler;)Lorg/xnio/ChannelListener;
NestHost: org.xnio.ChannelListeners
InnerClasses:
org.xnio.ChannelListeners$20