public abstract class io.netty.channel.oio.AbstractOioMessageChannel extends io.netty.channel.oio.AbstractOioChannel
{
private final java.util.List readBuf;
protected void <init>(io.netty.channel.Channel)
{
io.netty.channel.Channel v;
io.netty.channel.oio.AbstractOioMessageChannel v;
java.util.ArrayList v;
v := @this: io.netty.channel.oio.AbstractOioMessageChannel;
v := @parameter: io.netty.channel.Channel;
specialinvoke v.<io.netty.channel.oio.AbstractOioChannel: void <init>(io.netty.channel.Channel)>(v);
v = new java.util.ArrayList;
specialinvoke v.<java.util.ArrayList: void <init>()>();
v.<io.netty.channel.oio.AbstractOioMessageChannel: java.util.List readBuf> = v;
return;
}
protected void doRead()
{
java.lang.Throwable v, v;
io.netty.channel.ChannelPromise v;
int v, v, v;
boolean v, v, v, v, v, v, v, v, v;
io.netty.channel.oio.AbstractOioMessageChannel v;
io.netty.channel.ChannelPipeline v;
io.netty.channel.Channel$Unsafe v, v, v;
java.util.List v, v, v, v;
io.netty.channel.RecvByteBufAllocator$Handle v;
io.netty.channel.ChannelConfig v;
java.lang.Object v;
v := @this: io.netty.channel.oio.AbstractOioMessageChannel;
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean readPending>;
if v != 0 goto label;
return;
label:
v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean readPending> = 0;
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.ChannelConfig config()>();
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.ChannelPipeline pipeline()>();
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.Channel$Unsafe unsafe()>();
v = interfaceinvoke v.<io.netty.channel.Channel$Unsafe: io.netty.channel.RecvByteBufAllocator$Handle recvBufAllocHandle()>();
interfaceinvoke v.<io.netty.channel.RecvByteBufAllocator$Handle: void reset(io.netty.channel.ChannelConfig)>(v);
v = 0;
v = null;
label:
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: java.util.List readBuf>;
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: int doReadMessages(java.util.List)>(v);
if v == 0 goto label;
if v >= 0 goto label;
v = 1;
goto label;
label:
interfaceinvoke v.<io.netty.channel.RecvByteBufAllocator$Handle: void incMessagesRead(int)>(v);
v = interfaceinvoke v.<io.netty.channel.RecvByteBufAllocator$Handle: boolean continueReading()>();
if v != 0 goto label;
label:
goto label;
label:
v := @caughtexception;
v = v;
label:
v = 0;
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: java.util.List readBuf>;
v = interfaceinvoke v.<java.util.List: int size()>();
if v <= 0 goto label;
v = 1;
v = 0;
label:
if v >= v goto label;
v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean readPending> = 0;
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: java.util.List readBuf>;
v = interfaceinvoke v.<java.util.List: java.lang.Object get(int)>(v);
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline fireChannelRead(java.lang.Object)>(v);
v = v + 1;
goto label;
label:
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: java.util.List readBuf>;
interfaceinvoke v.<java.util.List: void clear()>();
interfaceinvoke v.<io.netty.channel.RecvByteBufAllocator$Handle: void readComplete()>();
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline fireChannelReadComplete()>();
label:
if v == null goto label;
v = v instanceof java.io.IOException;
if v == 0 goto label;
v = 1;
label:
interfaceinvoke v.<io.netty.channel.ChannelPipeline: io.netty.channel.ChannelPipeline fireExceptionCaught(java.lang.Throwable)>(v);
label:
if v == 0 goto label;
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean isOpen()>();
if v == 0 goto label;
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.Channel$Unsafe unsafe()>();
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.Channel$Unsafe unsafe()>();
v = interfaceinvoke v.<io.netty.channel.Channel$Unsafe: io.netty.channel.ChannelPromise voidPromise()>();
interfaceinvoke v.<io.netty.channel.Channel$Unsafe: void close(io.netty.channel.ChannelPromise)>(v);
goto label;
label:
v = v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean readPending>;
if v != 0 goto label;
v = interfaceinvoke v.<io.netty.channel.ChannelConfig: boolean isAutoRead()>();
if v != 0 goto label;
if v != 0 goto label;
v = virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: boolean isActive()>();
if v == 0 goto label;
label:
virtualinvoke v.<io.netty.channel.oio.AbstractOioMessageChannel: io.netty.channel.Channel read()>();
label:
return;
catch java.lang.Throwable from label to label with label;
}
protected abstract int doReadMessages(java.util.List) throws java.lang.Exception;
}