public final class org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation implements org.glassfish.grizzly.nio.SelectorHandlerTask
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation
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 org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult> completionHandler;
descriptor: Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
private void <init>(java.nio.channels.SelectableChannel, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.channel:Ljava/nio/channels/SelectableChannel;
2: aload 0
aload 2
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$DeregisterChannelOperation;
0 4 1 channel Ljava/nio/channels/SelectableChannel;
0 4 2 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
Signature: (Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
channel final
completionHandler final
public boolean run(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.channel:Ljava/nio/channels/SelectableChannel;
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.deregisterChannel0:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;Lorg/glassfish/grizzly/CompletionHandler;)V
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$DeregisterChannelOperation;
0 2 1 selectorRunner Lorg/glassfish/grizzly/nio/SelectorRunner;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
selectorRunner final
public void cancel();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
new java.io.IOException
dup
ldc "Selector is closed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$DeregisterChannelOperation;
}
SourceFile: "DefaultSelectorHandler.java"
NestHost: org.glassfish.grizzly.nio.DefaultSelectorHandler
InnerClasses:
protected final DeregisterChannelOperation = org.glassfish.grizzly.nio.DefaultSelectorHandler$DeregisterChannelOperation of org.glassfish.grizzly.nio.DefaultSelectorHandler