public final class org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation 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$RegisterChannelOperation
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 int interest;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object attachment;
descriptor: Ljava/lang/Object;
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, int, , org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.nio.RegisterChannelResult>);
descriptor: (Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.channel:Ljava/nio/channels/SelectableChannel;
2: aload 0
iload 2
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.interest:I
3: aload 0
aload 3
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.attachment:Ljava/lang/Object;
4: aload 0
aload 4
putfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterChannelOperation;
0 6 1 channel Ljava/nio/channels/SelectableChannel;
0 6 2 interest I
0 6 3 attachment Ljava/lang/Object;
0 6 4 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;
Signature: (Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/nio/RegisterChannelResult;>;)V
MethodParameters:
Name Flags
channel final
interest final
attachment final
completionHandler final
public boolean run(org.glassfish.grizzly.nio.SelectorRunner);
descriptor: (Lorg/glassfish/grizzly/nio/SelectorRunner;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.channel:Ljava/nio/channels/SelectableChannel;
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.interest:I
1: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.attachment:Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
2: invokestatic org.glassfish.grizzly.nio.DefaultSelectorHandler.registerChannel0:(Lorg/glassfish/grizzly/nio/SelectorRunner;Ljava/nio/channels/SelectableChannel;ILjava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler;)V
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/nio/DefaultSelectorHandler$RegisterChannelOperation;
0 4 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$RegisterChannelOperation.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation.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$RegisterChannelOperation;
}
SourceFile: "DefaultSelectorHandler.java"
NestHost: org.glassfish.grizzly.nio.DefaultSelectorHandler
InnerClasses:
protected final RegisterChannelOperation = org.glassfish.grizzly.nio.DefaultSelectorHandler$RegisterChannelOperation of org.glassfish.grizzly.nio.DefaultSelectorHandler