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
,java.lang.Comparable<Channel>
- Direct Known Subclasses:
OioDatagramChannel
,OioSctpChannel
,OioSctpServerChannel
,OioServerSocketChannel
@Deprecated public abstract class AbstractOioMessageChannel extends AbstractOioChannel
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
-
Fields inherited from class io.netty.channel.oio.AbstractOioChannel
SO_TIMEOUT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractOioMessageChannel(Channel parent)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
doRead()
Deprecated.protected abstract int
doReadMessages(java.util.List<java.lang.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
closeFuture, compareTo, doBind, doClose, doDeregister, doDisconnect, doRegister, doRegister, doShutdownOutput, doWrite, equals, eventLoop, filterOutboundMessage, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, localAddress, localAddress0, maxMessagesPerWrite, newChannelPipeline, newId, parent, pipeline, remoteAddress, remoteAddress0, toString, unsafe, validateFileRegion, voidPromise
-
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
-
Methods inherited from interface io.netty.channel.Channel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, config, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, flush, getOption, isActive, isOpen, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, read, setOption, write, write, writeAndFlush, writeAndFlush
-
-
-
-
Constructor Detail
-
AbstractOioMessageChannel
protected AbstractOioMessageChannel(Channel parent)
Deprecated.
-
-
Method Detail
-
doRead
protected void doRead()
Deprecated.- Specified by:
doRead
in classAbstractOioChannel
-
doReadMessages
protected abstract int doReadMessages(java.util.List<java.lang.Object> msgs) throws java.lang.Exception
Deprecated.Read messages into the given array and return the amount which was read.- Throws:
java.lang.Exception
-
-