class org.xnio.ChannelListeners$18 implements org.xnio.ChannelListener<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.xnio.ChannelListeners$18
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$18.val$pooled:Lorg/xnio/Pooled;
aload 0
aload 2
putfield org.xnio.ChannelListeners$18.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 0
aload 3
putfield org.xnio.ChannelListeners$18.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$18;
MethodParameters:
Name Flags
val$pooled final
val$exceptionHandler final
val$delegate final
public void handleEvent();
descriptor: (Lorg/xnio/channels/WritableMessageChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.getResource:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 2
start local 2 1: iconst_1
istore 3
start local 3 2: aload 1
aload 2
invokeinterface org.xnio.channels.WritableMessageChannel.send:(Ljava/nio/ByteBuffer;)Z
dup
istore 3
ifne 16
3: aload 1
aload 0
invokestatic org.xnio.channels.Channels.setWriteListener:(Lorg/xnio/channels/SuspendableWriteChannel;Lorg/xnio/ChannelListener;)V
4: aload 1
invokeinterface org.xnio.channels.WritableMessageChannel.resumeWrites:()V
5: iload 3
ifeq 6
aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
6: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
return
7: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 8: aload 1
invokeinterface org.xnio.channels.WritableMessageChannel.suspendWrites:()V
9: aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
10: aload 1
aload 0
getfield org.xnio.ChannelListeners$18.val$exceptionHandler:Lorg/xnio/ChannelExceptionHandler;
aload 4
invokestatic org.xnio.ChannelListeners.invokeChannelExceptionHandler:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelExceptionHandler;Ljava/io/IOException;)V
11: iload 3
ifeq 12
aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
12: StackMap locals: java.io.IOException
StackMap stack:
return
end local 4 13: StackMap locals: org.xnio.ChannelListeners$18 org.xnio.channels.WritableMessageChannel java.nio.ByteBuffer int
StackMap stack: java.lang.Throwable
astore 5
14: iload 3
ifeq 15
aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
15: StackMap locals: org.xnio.ChannelListeners$18 org.xnio.channels.WritableMessageChannel java.nio.ByteBuffer int top java.lang.Throwable
StackMap stack:
aload 5
athrow
16: StackMap locals: org.xnio.ChannelListeners$18 org.xnio.channels.WritableMessageChannel java.nio.ByteBuffer int
StackMap stack:
iload 3
ifeq 17
aload 0
getfield org.xnio.ChannelListeners$18.val$pooled:Lorg/xnio/Pooled;
invokeinterface org.xnio.Pooled.free:()V
17: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.xnio.ChannelListeners$18.val$delegate:Lorg/xnio/ChannelListener;
invokestatic org.xnio.ChannelListeners.invokeChannelListener:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelListener;)Z
pop
18: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/xnio/ChannelListeners$18;
0 19 1 channel TT;
1 19 2 buffer Ljava/nio/ByteBuffer;
2 19 3 free Z
8 13 4 e Ljava/io/IOException;
Exception table:
from to target type
2 5 7 Class java.io.IOException
2 5 13 any
7 11 13 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 "Sending channel listener -> "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.xnio.ChannelListeners$18.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$18;
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.WritableMessageChannel
invokevirtual org.xnio.ChannelListeners$18.handleEvent:(Lorg/xnio/channels/WritableMessageChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<TT;>;
SourceFile: "ChannelListeners.java"
EnclosingMethod: org.xnio.ChannelListeners.sendingChannelListener:(Lorg/xnio/Pooled;Lorg/xnio/ChannelListener;Lorg/xnio/ChannelExceptionHandler;)Lorg/xnio/ChannelListener;
NestHost: org.xnio.ChannelListeners
InnerClasses:
org.xnio.ChannelListeners$18