Package io.netty.channel.oio
Class AbstractOioMessageChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
io.netty.channel.oio.AbstractOioChannel
io.netty.channel.oio.AbstractOioMessageChannel
- All Implemented Interfaces:
Channel,ChannelOutboundInvoker,AttributeMap,Comparable<Channel>
- Direct Known Subclasses:
OioDatagramChannel,OioSctpChannel,OioSctpServerChannel,OioServerSocketChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
Abstract base class for OIO which reads and writes objects from/to a Socket
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.channel.AbstractChannel
AbstractChannel.AbstractUnsafeNested classes/interfaces inherited from interface io.netty.channel.Channel
Channel.Unsafe -
Field Summary
FieldsFields inherited from class io.netty.channel.oio.AbstractOioChannel
readPending, readTask, readWhenInactive, SO_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoRead()Deprecated.protected abstract intdoReadMessages(List<Object> msgs) Deprecated.Read messages into the given array and return the amount which was read.Methods inherited from class io.netty.channel.oio.AbstractOioChannel
clearReadPending, doBeginRead, doConnect, isCompatible, isReadPending, newUnsafe, setReadPendingMethods inherited from class io.netty.channel.AbstractChannel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doBind, doClose, doDeregister, doDisconnect, doRegister, doShutdownOutput, doWrite, equals, eventLoop, filterOutboundMessage, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, localAddress, localAddress0, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, remoteAddress0, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushMethods inherited from class io.netty.util.DefaultAttributeMap
attr, hasAttrMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.netty.util.AttributeMap
attr, hasAttr
-
Field Details
-
readBuf
Deprecated.
-
-
Constructor Details
-
AbstractOioMessageChannel
Deprecated.
-
-
Method Details
-
doRead
protected void doRead()Deprecated.- Specified by:
doReadin classAbstractOioChannel
-
doReadMessages
Deprecated.Read messages into the given array and return the amount which was read.- Throws:
Exception
-