public abstract class io.netty.channel.oio.AbstractOioMessageChannel extends io.netty.channel.oio.AbstractOioChannel
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: io.netty.channel.oio.AbstractOioMessageChannel
super_class: io.netty.channel.oio.AbstractOioChannel
{
private final java.util.List<java.lang.Object> readBuf;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/Object;>;
protected void <init>(io.netty.channel.Channel);
descriptor: (Lio/netty/channel/Channel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial io.netty.channel.oio.AbstractOioChannel.<init>:(Lio/netty/channel/Channel;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.netty.channel.oio.AbstractOioMessageChannel.readBuf:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/oio/AbstractOioMessageChannel;
0 3 1 parent Lio/netty/channel/Channel;
MethodParameters:
Name Flags
parent
protected void doRead();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readPending:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield io.netty.channel.oio.AbstractOioMessageChannel.readPending:Z
3: aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.config:()Lio/netty/channel/ChannelConfig;
astore 1
start local 1 4: aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.pipeline:()Lio/netty/channel/ChannelPipeline;
astore 2
start local 2 5: aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.unsafe:()Lio/netty/channel/Channel$Unsafe;
invokeinterface io.netty.channel.Channel$Unsafe.recvBufAllocHandle:()Lio/netty/channel/RecvByteBufAllocator$Handle;
astore 3
start local 3 6: aload 3
aload 1
invokeinterface io.netty.channel.RecvByteBufAllocator$Handle.reset:(Lio/netty/channel/ChannelConfig;)V
7: iconst_0
istore 4
start local 4 8: aconst_null
astore 5
start local 5 9: StackMap locals: io.netty.channel.oio.AbstractOioMessageChannel io.netty.channel.ChannelConfig io.netty.channel.ChannelPipeline io.netty.channel.RecvByteBufAllocator$Handle int java.lang.Throwable
StackMap stack:
aload 0
aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readBuf:Ljava/util/List;
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.doReadMessages:(Ljava/util/List;)I
istore 6
start local 6 10: iload 6
ifne 12
11: goto 20
12: StackMap locals: int
StackMap stack:
iload 6
ifge 15
13: iconst_1
istore 4
14: goto 20
15: StackMap locals:
StackMap stack:
aload 3
iload 6
invokeinterface io.netty.channel.RecvByteBufAllocator$Handle.incMessagesRead:(I)V
end local 6 16: aload 3
invokeinterface io.netty.channel.RecvByteBufAllocator$Handle.continueReading:()Z
ifne 9
17: goto 20
StackMap locals: io.netty.channel.oio.AbstractOioMessageChannel io.netty.channel.ChannelConfig io.netty.channel.ChannelPipeline io.netty.channel.RecvByteBufAllocator$Handle int java.lang.Throwable
StackMap stack: java.lang.Throwable
18: astore 6
start local 6 19: aload 6
astore 5
end local 6 20: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 21: aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readBuf:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 7
start local 7 22: iload 7
ifle 33
23: iconst_1
istore 6
24: iconst_0
istore 8
start local 8 25: goto 29
26: StackMap locals: int int int
StackMap stack:
aload 0
iconst_0
putfield io.netty.channel.oio.AbstractOioMessageChannel.readPending:Z
27: aload 2
aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readBuf:Ljava/util/List;
iload 8
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface io.netty.channel.ChannelPipeline.fireChannelRead:(Ljava/lang/Object;)Lio/netty/channel/ChannelPipeline;
pop
28: iinc 8 1
StackMap locals:
StackMap stack:
29: iload 8
iload 7
if_icmplt 26
end local 8 30: aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readBuf:Ljava/util/List;
invokeinterface java.util.List.clear:()V
31: aload 3
invokeinterface io.netty.channel.RecvByteBufAllocator$Handle.readComplete:()V
32: aload 2
invokeinterface io.netty.channel.ChannelPipeline.fireChannelReadComplete:()Lio/netty/channel/ChannelPipeline;
pop
33: StackMap locals:
StackMap stack:
aload 5
ifnull 37
34: aload 5
instanceof java.io.IOException
ifeq 36
35: iconst_1
istore 4
36: StackMap locals:
StackMap stack:
aload 2
aload 5
invokeinterface io.netty.channel.ChannelPipeline.fireExceptionCaught:(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPipeline;
pop
37: StackMap locals:
StackMap stack:
iload 4
ifeq 41
38: aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.isOpen:()Z
ifeq 43
39: aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.unsafe:()Lio/netty/channel/Channel$Unsafe;
aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.unsafe:()Lio/netty/channel/Channel$Unsafe;
invokeinterface io.netty.channel.Channel$Unsafe.voidPromise:()Lio/netty/channel/ChannelPromise;
invokeinterface io.netty.channel.Channel$Unsafe.close:(Lio/netty/channel/ChannelPromise;)V
40: goto 43
StackMap locals:
StackMap stack:
41: aload 0
getfield io.netty.channel.oio.AbstractOioMessageChannel.readPending:Z
ifne 42
aload 1
invokeinterface io.netty.channel.ChannelConfig.isAutoRead:()Z
ifne 42
iload 6
ifne 43
aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.isActive:()Z
ifeq 43
42: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.netty.channel.oio.AbstractOioMessageChannel.read:()Lio/netty/channel/Channel;
pop
43: StackMap locals:
StackMap stack:
return
end local 7 end local 6 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 44 0 this Lio/netty/channel/oio/AbstractOioMessageChannel;
4 44 1 config Lio/netty/channel/ChannelConfig;
5 44 2 pipeline Lio/netty/channel/ChannelPipeline;
6 44 3 allocHandle Lio/netty/channel/RecvByteBufAllocator$Handle;
8 44 4 closed Z
9 44 5 exception Ljava/lang/Throwable;
10 16 6 localRead I
19 20 6 t Ljava/lang/Throwable;
21 44 6 readData Z
22 44 7 size I
25 30 8 i I
Exception table:
from to target type
9 17 18 Class java.lang.Throwable
protected abstract int doReadMessages(java.util.List<java.lang.Object>);
descriptor: (Ljava/util/List;)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.Exception
Signature: (Ljava/util/List<Ljava/lang/Object;>;)I
MethodParameters:
Name Flags
msgs
}
SourceFile: "AbstractOioMessageChannel.java"
InnerClasses:
public abstract Unsafe = io.netty.channel.Channel$Unsafe of io.netty.channel.Channel
public abstract Handle = io.netty.channel.RecvByteBufAllocator$Handle of io.netty.channel.RecvByteBufAllocator