final class org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter implements org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult<org.glassfish.grizzly.Buffer, java.net.SocketAddress>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter
super_class: java.lang.Object
{
private final org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output output;
descriptor: Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.glassfish.grizzly.impl.FutureImpl<java.lang.Integer> future;
descriptor: Lorg/glassfish/grizzly/impl/FutureImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;
private final org.glassfish.grizzly.CompletionHandler<java.lang.Integer> completionHandler;
descriptor: Lorg/glassfish/grizzly/CompletionHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
public void <init>(org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output, org.glassfish.grizzly.impl.FutureImpl<java.lang.Integer>, org.glassfish.grizzly.CompletionHandler<java.lang.Integer>);
descriptor: (Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;Lorg/glassfish/grizzly/impl/FutureImpl;Lorg/glassfish/grizzly/CompletionHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.output:Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
2: aload 0
aload 2
putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
3: aload 0
aload 3
putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$CompletionHandlerAdapter;
0 5 1 output Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
0 5 2 future Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;
0 5 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;
Signature: (Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;Lorg/glassfish/grizzly/impl/FutureImpl<Ljava/lang/Integer;>;Lorg/glassfish/grizzly/CompletionHandler<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
output
future
completionHandler
public void cancelled();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
invokeinterface org.glassfish.grizzly.CompletionHandler.cancelled:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
iconst_0
invokeinterface org.glassfish.grizzly.impl.FutureImpl.cancel:(Z)Z
pop
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$CompletionHandlerAdapter;
public void failed(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 1
invokeinterface org.glassfish.grizzly.CompletionHandler.failed:(Ljava/lang/Throwable;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
aload 1
invokeinterface org.glassfish.grizzly.impl.FutureImpl.failure:(Ljava/lang/Throwable;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$CompletionHandlerAdapter;
0 5 1 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
throwable
public void completed(org.glassfish.grizzly.WriteResult);
descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.output:Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
dup
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.sentBytesCounter:I
i2l
aload 1
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
ladd
l2i
putfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.sentBytesCounter:I
1: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.output:Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.sentBytesCounter:I
istore 2
start local 2 2: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 4
3: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.glassfish.grizzly.CompletionHandler.completed:(Ljava/lang/Object;)V
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
ifnull 6
5: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.future:Lorg/glassfish/grizzly/impl/FutureImpl;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.glassfish.grizzly.impl.FutureImpl.result:(Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$CompletionHandlerAdapter;
0 7 1 result Lorg/glassfish/grizzly/WriteResult;
2 7 2 totalSentBytes I
MethodParameters:
Name Flags
result
public void updated(org.glassfish.grizzly.WriteResult);
descriptor: (Lorg/glassfish/grizzly/WriteResult;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
ifnull 2
1: aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completionHandler:Lorg/glassfish/grizzly/CompletionHandler;
aload 0
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.output:Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$Output;
getfield org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output.sentBytesCounter:I
aload 1
invokevirtual org.glassfish.grizzly.WriteResult.getWrittenSize:()J
l2i
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface org.glassfish.grizzly.CompletionHandler.updated:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/transport/DefaultStreamWriter$CompletionHandlerAdapter;
0 3 1 result Lorg/glassfish/grizzly/WriteResult;
MethodParameters:
Name Flags
result
public void updated(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.WriteResult
invokevirtual org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.updated:(Lorg/glassfish/grizzly/WriteResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
public void completed(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.glassfish.grizzly.WriteResult
invokevirtual org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter.completed:(Lorg/glassfish/grizzly/WriteResult;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/glassfish/grizzly/CompletionHandler<Lorg/glassfish/grizzly/WriteResult<Lorg/glassfish/grizzly/Buffer;Ljava/net/SocketAddress;>;>;
SourceFile: "DefaultStreamWriter.java"
NestHost: org.glassfish.grizzly.nio.transport.DefaultStreamWriter
InnerClasses:
private final CompletionHandlerAdapter = org.glassfish.grizzly.nio.transport.DefaultStreamWriter$CompletionHandlerAdapter of org.glassfish.grizzly.nio.transport.DefaultStreamWriter
public final Output = org.glassfish.grizzly.nio.transport.DefaultStreamWriter$Output of org.glassfish.grizzly.nio.transport.DefaultStreamWriter