class io.undertow.server.handlers.sse.ServerSentEventConnection$1 implements org.xnio.ChannelListener<org.xnio.channels.StreamSinkChannel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.undertow.server.handlers.sse.ServerSentEventConnection$1
super_class: java.lang.Object
{
final io.undertow.server.handlers.sse.ServerSentEventConnection this$0;
descriptor: Lio/undertow/server/handlers/sse/ServerSentEventConnection;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(io.undertow.server.handlers.sse.ServerSentEventConnection);
descriptor: (Lio/undertow/server/handlers/sse/ServerSentEventConnection;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // io.undertow.server.handlers.sse.ServerSentEventConnection$1 this
0: .line 90
aload 0 /* this */
aload 1
putfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // io.undertow.server.handlers.sse.ServerSentEventConnection$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/undertow/server/handlers/sse/ServerSentEventConnection$1;
MethodParameters:
Name Flags
this$0 final
public void handleEvent(org.xnio.channels.StreamSinkChannel);
descriptor: (Lorg/xnio/channels/StreamSinkChannel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 // io.undertow.server.handlers.sse.ServerSentEventConnection$1 this
start local 1 // org.xnio.channels.StreamSinkChannel channel
0: .line 93
aload 0 /* this */
getfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
getfield io.undertow.server.handlers.sse.ServerSentEventConnection.timerKey:Lorg/xnio/XnioExecutor$Key;
ifnull 2
1: .line 94
aload 0 /* this */
getfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
getfield io.undertow.server.handlers.sse.ServerSentEventConnection.timerKey:Lorg/xnio/XnioExecutor$Key;
invokeinterface org.xnio.XnioExecutor$Key.remove:()Z
pop
2: .line 96
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
getfield io.undertow.server.handlers.sse.ServerSentEventConnection.closeTasks:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: io.undertow.server.handlers.sse.ServerSentEventConnection$1 org.xnio.channels.StreamSinkChannel top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.xnio.ChannelListener
astore 2 /* listener */
start local 2 // org.xnio.ChannelListener listener
4: .line 97
aload 0 /* this */
getfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
aload 2 /* listener */
invokestatic org.xnio.ChannelListeners.invokeChannelListener:(Ljava/nio/channels/Channel;Lorg/xnio/ChannelListener;)Z
pop
end local 2 // org.xnio.ChannelListener listener
5: .line 96
StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: .line 99
aload 0 /* this */
getfield io.undertow.server.handlers.sse.ServerSentEventConnection$1.this$0:Lio/undertow/server/handlers/sse/ServerSentEventConnection;
invokestatic org.xnio.IoUtils.safeClose:(Ljava/io/Closeable;)V
7: .line 100
return
end local 1 // org.xnio.channels.StreamSinkChannel channel
end local 0 // io.undertow.server.handlers.sse.ServerSentEventConnection$1 this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/undertow/server/handlers/sse/ServerSentEventConnection$1;
0 8 1 channel Lorg/xnio/channels/StreamSinkChannel;
4 5 2 listener Lorg/xnio/ChannelListener<Lio/undertow/server/handlers/sse/ServerSentEventConnection;>;
MethodParameters:
Name Flags
channel
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: .line 1
aload 0
aload 1
checkcast org.xnio.channels.StreamSinkChannel
invokevirtual io.undertow.server.handlers.sse.ServerSentEventConnection$1.handleEvent:(Lorg/xnio/channels/StreamSinkChannel;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/xnio/ChannelListener<Lorg/xnio/channels/StreamSinkChannel;>;
SourceFile: "ServerSentEventConnection.java"
EnclosingMethod: io.undertow.server.handlers.sse.ServerSentEventConnection.<init>:(Lio/undertow/server/HttpServerExchange;Lorg/xnio/channels/StreamSinkChannel;)V
NestHost: io.undertow.server.handlers.sse.ServerSentEventConnection
InnerClasses:
io.undertow.server.handlers.sse.ServerSentEventConnection$1
public abstract Key = org.xnio.XnioExecutor$Key of org.xnio.XnioExecutor