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.AbstractUnsafe
Nested 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 void
doRead()
Deprecated.protected abstract int
doReadMessages
(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, setReadPending
Methods 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, writeAndFlush
Methods inherited from class io.netty.util.DefaultAttributeMap
attr, hasAttr
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
doRead
in classAbstractOioChannel
-
doReadMessages
Deprecated.Read messages into the given array and return the amount which was read.- Throws:
Exception
-