Top Description Fields Constructors Methods
io.netty.channel.oio

public abstract Class AbstractOioMessageChannel

extends AbstractOioChannel
Class Inheritance
Known Direct Subclasses
io.netty.channel.socket.oio.OioDatagramChannel, io.netty.channel.socket.oio.OioServerSocketChannel
Annotations
@Deprecated
Imports
io.netty.channel.Channel, .ChannelConfig, .ChannelPipeline, .RecvByteBufAllocator, java.io.IOException, java.util.ArrayList, .List

Deprecated

use NIO / EPOLL / KQUEUE transport.

Abstract base class for OIO which reads and writes objects from/to a Socket

Field Summary

Modifier and TypeField and Description
private final List<Object>
Inherited from io.netty.channel.oio.AbstractOioChannel:
readPendingreadTaskreadWhenInactiveSO_TIMEOUT

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected void
protected abstract int
doReadMessages(List<Object> msgs)

Read messages into the given array and return the amount which was read.

Inherited from io.netty.channel.oio.AbstractOioChannel:
clearReadPendingdoBeginReaddoConnectisCompatibleisReadPendingnewUnsafesetReadPending

Field Detail

readBufback to summary
private final List<Object> readBuf

Constructor Detail

AbstractOioMessageChannelback to summary
protected AbstractOioMessageChannel(Channel parent)

Method Detail

doReadback to summary
protected void doRead()

Implements abstract io.netty.channel.oio.AbstractOioChannel.doRead.

Annotations
@Override
doReadMessagesback to summary
protected abstract int doReadMessages(List<Object> msgs) throws Exception

Read messages into the given array and return the amount which was read.