public final class org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueReader extends org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueReader
super_class: org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader
{
public void <init>(org.glassfish.grizzly.nio.NIOTransport);
descriptor: (Lorg/glassfish/grizzly/nio/NIOTransport;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.glassfish.grizzly.nio.AbstractNIOAsyncQueueReader.<init>:(Lorg/glassfish/grizzly/nio/NIOTransport;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueReader;
0 2 1 transport Lorg/glassfish/grizzly/nio/NIOTransport;
MethodParameters:
Name Flags
transport
protected int read0(org.glassfish.grizzly.Connection, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.ReadResult<org.glassfish.grizzly.Buffer, java.net.SocketAddress>);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/ReadResult;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 4
start local 4 3: aload 0
getfield org.glassfish.grizzly.nio.transport.TCPNIOAsyncQueueReader.transport:Lorg/glassfish/grizzly/nio/NIOTransport;
checkcast org.glassfish.grizzly.nio.transport.TCPNIOTransport
aload 1
aload 2
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOTransport.read:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;)Lorg/glassfish/grizzly/Buffer;
dup
astore 2
ifnull 9
4: aload 2
invokeinterface org.glassfish.grizzly.Buffer.position:()I
iload 4
isub
istore 5
start local 5 5: aload 3
aload 2
invokevirtual org.glassfish.grizzly.ReadResult.setMessage:(Ljava/lang/Object;)V
6: aload 3
aload 3
invokevirtual org.glassfish.grizzly.ReadResult.getReadSize:()I
iload 5
iadd
invokevirtual org.glassfish.grizzly.ReadResult.setReadSize:(I)V
7: aload 3
aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
getfield org.glassfish.grizzly.nio.transport.TCPNIOConnection.peerSocketAddressHolder:Lorg/glassfish/grizzly/utils/Holder;
invokevirtual org.glassfish.grizzly.ReadResult.setSrcAddressHolder:(Lorg/glassfish/grizzly/utils/Holder;)V
8: iload 5
ireturn
end local 5 9: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueReader;
0 10 1 connection Lorg/glassfish/grizzly/Connection;
0 10 2 buffer Lorg/glassfish/grizzly/Buffer;
0 10 3 currentResult Lorg/glassfish/grizzly/ReadResult<Lorg/glassfish/grizzly/Buffer;Ljava/net/SocketAddress;>;
3 10 4 oldPosition I
5 9 5 readBytes I
Exceptions:
throws java.io.IOException
Signature: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/ReadResult<Lorg/glassfish/grizzly/Buffer;Ljava/net/SocketAddress;>;)I
MethodParameters:
Name Flags
connection final
buffer
currentResult final
protected void addRecord(org.glassfish.grizzly.Connection, org.glassfish.grizzly.Buffer, org.glassfish.grizzly.CompletionHandler, org.glassfish.grizzly.Interceptor<org.glassfish.grizzly.ReadResult>);
descriptor: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
aload 3
aload 4
invokestatic org.glassfish.grizzly.asyncqueue.AsyncReadQueueRecord.create:(Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor;)Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
astore 5
start local 5 1: aload 1
checkcast org.glassfish.grizzly.nio.transport.TCPNIOConnection
invokevirtual org.glassfish.grizzly.nio.transport.TCPNIOConnection.getAsyncReadQueue:()Lorg/glassfish/grizzly/asyncqueue/TaskQueue;
aload 5
invokevirtual org.glassfish.grizzly.asyncqueue.TaskQueue.offer:(Lorg/glassfish/grizzly/asyncqueue/AsyncQueueRecord;)V
2: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueReader;
0 3 1 connection Lorg/glassfish/grizzly/Connection;
0 3 2 buffer Lorg/glassfish/grizzly/Buffer;
0 3 3 completionHandler Lorg/glassfish/grizzly/CompletionHandler;
0 3 4 interceptor Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;
1 3 5 record Lorg/glassfish/grizzly/asyncqueue/AsyncReadQueueRecord;
Signature: (Lorg/glassfish/grizzly/Connection;Lorg/glassfish/grizzly/Buffer;Lorg/glassfish/grizzly/CompletionHandler;Lorg/glassfish/grizzly/Interceptor<Lorg/glassfish/grizzly/ReadResult;>;)V
MethodParameters:
Name Flags
connection
buffer
completionHandler
interceptor
protected void onReadyToRead(org.glassfish.grizzly.Connection);
descriptor: (Lorg/glassfish/grizzly/Connection;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.glassfish.grizzly.nio.NIOConnection
astore 2
start local 2 1: aload 2
getstatic org.glassfish.grizzly.IOEvent.READ:Lorg/glassfish/grizzly/IOEvent;
invokevirtual org.glassfish.grizzly.nio.NIOConnection.enableIOEvent:(Lorg/glassfish/grizzly/IOEvent;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/nio/transport/TCPNIOAsyncQueueReader;
0 3 1 connection Lorg/glassfish/grizzly/Connection;
1 3 2 nioConnection Lorg/glassfish/grizzly/nio/NIOConnection;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
connection
}
SourceFile: "TCPNIOAsyncQueueReader.java"